Am 27.11.2008 um 21:35 schrieb Erick Perez:


thanks Robert,

If i do what you said
for linia in `cat /etc/passwd`
do
   user=echo $linea | awk -F :  '{ print $1 }'
   nombre=echo $linea | awk -F :  '{ print $5 }'
   echo "the name is $nombre"
   echo "zmprov ma [EMAIL PROTECTED] displayName $nombre">>$file

   x=$[x+1]
done

then I have:
the name is echo

So it seems i have problems with quotes...
either " or ` goes somewhere....
now..on my way to reaad about escape sequences in echo.


Backquotes
Around everything right of the "=".


Rainer
_______________________________________________
CentOS mailing list
[email protected]
http://lists.centos.org/mailman/listinfo/centos

Reply via email to