[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Shell scripting help



On Sun, 1 Dec 2002, Bill Horne wrote:

> ----- Original Message ----- 
> From: "Mikevl" <Mikevl paradise net nz>
> 
> 
> > Hi
> > 
> > Can anybody help with this simple script
> > 
> > Command is useradd userfile
> > 
> > 
> > useradd
> > userfile=$1
> > s=0
> > for i in 'cat $userfile ';do
> >         $NAME='cut -d : -f1'
> >         echo $NAME
> > done
> 
> info cut.

*please* tell me you didn't actually name the executable
script file "useradd".

rday





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]