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

Re: Shell scripting help



----- 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.

HTH.

Bill





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