use grep or other command to get exactly pattern
John Summerfield
debian at herakles.homelinux.org
Fri Jan 18 21:42:15 UTC 2008
ann kok wrote:
> Hi all
>
> how can use grep or use other command to get exactly
> pattern eg: 10.0.0.7 only?
>
> eg: grep 10.0.0.7 file. I want to get 10.0.0.7 only
> not
>
> 10.0.0.71
> 10.0.0.72
> 10.0.0.7
man grep
man regex
--
Cheers
John
-- spambait
1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375
You cannot reply off-list:-)
More information about the fedora-list
mailing list