Anyone know how to pass an argument to the shell on the standard output?

There are some shell commands (openssl sha1, for example) that take their arguments from stdin or a file, but not the command line. While it's easy to write data to a file and pass the filepath to the shell, it's not very efficient if you want to do it many times in succession.

I've tried

open file stdout
write "mark doesn't know how to do this"
put shell("openssl sha1") into tDigest
close file stdout

but this doesn't work...

Any ideas?

best

Mark
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to