Re: Redirect text from stdout to a variable?

2004-01-31 Thread W. D.
At 05:27 1/31/2004, Quintin Riis wrote: >In Bourne shell: > >blah=$(something | something) >blah2=`blah -K 2 -z` > > Quintin Thanks, Quintin! My problem is that when I try to do something like that, I get something like this: Cannot execute using backquotes in safe mode Any other

Re: Redirect text from stdout to a variable?

2004-01-31 Thread Quintin Riis
In Bourne shell: blah=$(something | something) blah2=`blah -K 2 -z` Quintin W. D. wrote: Hey folks, Is it possible to redirect text from stdout to a variable? I do something like this and get the output on the screen: echo "Some Text to be Encrypted" | /usr/local/bin/gpg -a --always-trust --