[CentOS] grep question
Seán O Sullivan
seanos at seanos.netWed Aug 30 21:24:48 UTC 2006
- Previous message: [CentOS] grep question
- Next message: [CentOS] CentOS-4.4 update: don't forget those rpmsave and rpmnew files folks!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jerry Geis wrote: > bats at tt > net-bats at tt > > and I do a "grep -v bats" (intention was to get everything except bats > but net-bats was mistakenly grepped) > > How do I specify the beginning of the line and match after that so > bats is caught not net-bats? > grep -v ^bats file Regards, Sean
- Previous message: [CentOS] grep question
- Next message: [CentOS] CentOS-4.4 update: don't forget those rpmsave and rpmnew files folks!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list