First of all, thanks to both Oren and Yosef. Both solutions worked. 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.
On Monday 18 October 2004 23:09, Yosef Meller wrote: > Oron Peled wrote: > > Now if you really insist that the file would contain: > > me "Shlomo" "this is a test message" > > > > Than you can do some shell judo: > > eval sendsms "`cat /tmp/tmp-sms`" > > Or simply: > > cat /tmp/tmp-sms | xargs sendsms -- Shlomo Solomon http://come.to/shlomo.solomon Sent by KMail 1.6.1 (KDE 3.2) on LINUX Mandrake 10.0 ================================================================= 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]
