Jerry Geis wrote:
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?
grep -v ^bats file
Regards,
Sean