Print

Print


Yes, $1 is the first command line argument passed in the format 
./mxreplace.sh <directory>

Justin

Justin Moore
Systems Administrator
ProGifts, Inc.
3715-B NW 97th Blvd.
Gainesville, FL  32606
Phone: (352) 332-3833
Fax: (352) 332-8252
www.progifts.com



Jeff Lasman wrote:
> On Friday 23 February 2007 11:47 am, Clay Wells wrote:
>
>   
>> ok.. as for the looping. i'd try something like:
>> #!/bin/bash
>>
>> dir=$1
>>     
>
> does $1 represent a commandline option?  What goes into $1?
>
> Something like *.db
>
> ??
>
> Thanks.
>
> Jeff
>