programming question, for samba

Ruud Huynen rhn at orcom.ch
Mon Oct 13 08:20:59 GMT 1997


James Hughes wrote:

> grep username /etc/passwd|cut -f 3 -d :

Better is:
grep "^username:" /etc/passwd|cut -f 3 -d :

Regards
Ruud Huynen   rhn at orcom.ch
ORCOM Systems AG
Tel. +41 61 976 33 33
Fax. +41 61 971 54 71




More information about the samba mailing list