Stdout and Shell commands
mark at maseurope.net
Mon Dec 4 07:24:28 EST 2006
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.
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...
More information about the Use-livecode