On Monday 18 October 2004 23:13, Shlomo Solomon wrote: > First of all, thanks to both Oren and Yosef. Both solutions worked.
But my name was obfuscated :-) [it's Oron] > But, now I'm confused. Isn't the whole point of redirection that > you can use a file to get input or accept output even if the > program was originally desiged to work only from the command line? > I don't see why the pipe or redirection I > was using didn't do the job. If the program reads input from "standard input" and write output to "standard output" than its I/O may be redirected to/from files or piped to/from other programs. This specific program was not reading any input, but was expecting its data as parameters on the command line. That's why we used other shell mechanisms to move input into its command line. -- Oron Peled Voice/Fax: +972-4-8228492 [EMAIL PROTECTED] http://www.actcom.co.il/~oron ICQ UIN: 16527398 "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald E. Knuth ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
