On Wed, 04 Aug 2004 20:14:21 -0500, Mikkel L. Ellertson
<[EMAIL PROTECTED]> wrote:

> Or you script can start something like:
> 
> #!/bin/bash
> #
> PATH=/bin;/usr/bin;/home/ger/bin
> 
> Another way you can do it is to define variables for all your commands
> at the start of the script, and then use the variable where you would
> use the command.
> 
> MYCOMMAND=/home/ger/bin/command
> INFILE=/home/ger/infile.txt
> OUTFILE=/home/ger/outfile.txt
> 
> $MYCOMMAND  <$INFINE >$OUTFILE

Those are all good tips. I'm starting to learn shell scripting, so
I'll keep them in mind. Thanks!

Germ�n.

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to