On 01/09/04 03:41 -0700, amitflu wrote:
Hi all,
I have been writing a long script for last 7 days.I am stuck with a small problem.
I need to use the name of the Standard output file provided by the user in a shell script.
Pass it as a parameter, and use $1
#!/bin/sh
OUTFILE=$1 : : echo "Command: $command said" >> $OUTFILE echo `command` >> $OUTFILE
exit 0
Devdas Bhagat