[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

coding for standard in

From: tgate
Subject: coding for standard in
Date: Sat, 9 Dec 2006 18:45:56 -0800

This is a bit of a newbie question I suppose.

I want to create command line program that will accept "standard in" for arguments. I want to be able to make my program scriptable so that a script looks something like...


scriptArguments here

or from the command line...

% myScript.txt > myProgram


% cat myScript.txt | myProgram

I'm not really sure how to go about this. Should I be using the NSFileHandle class somehow?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]