Re: commands within shell script
on Tue, 04 Mar 2003 05:13:33PM -0500, Benjamin Rutt insinuated:
> Nori Heikkinen <nori@sccs.swarthmore.edu> writes:
> > okay, this is cool ... i'd just misunderstood a friend's question.
> > he doesn't even want to run top, he wants to stick in a bunch of
> > echo statements.
>
> In that case, place 'set -x' as the 2nd line of the shell script
> (the line after the #! business) and see every command echoed as it
> is executed. -- Benjamin
*exactly* what i(/he) wanted! thanks!
</nori>
--
.~. nori @ sccs.swarthmore.edu
/V\ http://www.sccs.swarthmore.edu/~nori/jnl/
// \\ @ maenad.net
/( )\ www.maenad.net
^`~'^
Reply to: