Hello guys and gals, I have prepared a command to execute in Solaris OS. There are 2 files which contain my command. The command in both files is the same, but I wonder very much why the first file executes successfully but the second one fails:
First file contains:
( uuencode file1 file1; uuencode file2 file2; ) | mailx -s "test1" abc@abc.com
Second file contains:
LIST="uuencode file1 file1; uuencode file2 file2;"
echo `( $LIST ) | mailx -s "test2" abc@abc.com`
Thank you
First file contains:
( uuencode file1 file1; uuencode file2 file2; ) | mailx -s "test1" abc@abc.com
Second file contains:
LIST="uuencode file1 file1; uuencode file2 file2;"
echo `( $LIST ) | mailx -s "test2" abc@abc.com`
Thank you