[CentOS] grep question

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



if I have a file that has more than these two entries

bats@tt
net-bats@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?

THanks for any suggestions.

Jerry
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux