NMLUG
The New Mexico Linux & BSD Users Group |
![]() |
|
|
[Date Prev][Date Next] [Chronological] [Thread] [Top] [NMLUG] grep help
From: "Jason Davis" <jason@claim.md> Sent: Wednesday, March 16, 2005 3:40 PM > this works for me > > if grep "audio.*,*fred,*" /etc/group > /dev/null; then echo "yes"; fi > > > here is the line from /etc/group > audio:x:29:mohadib,fred Unfortunately, that would also succeed for kaudiod:x:129:mohadib,freddy
|
Please send sugestions and comments to webmaster@nmlug.org.
|