![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Forums... | B14speedfreak | SUN Solaris | 0 | 05-23-2006 07:38 AM |
| SAN/NAS Forums | mangolinux | Filesystems, Disks and Memory | 4 | 03-16-2006 08:53 PM |
| other forums.. | norsk hedensk | What's on Your Mind? | 2 | 06-10-2004 10:14 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
New to forums and had a quick one.
I am trying to use grep or awk to search for a specific number in a file. For eg.
grep -i "Tag: 140" filename. The above command also lists other Tag: 140 like below. Tag: 1409970 Tag: 1409969 Tag: 1409749 Tag: 1409968 Tag: 1409750 Tag: 140 Tag: 1409751 Tag: 1409752 Tag: 1409746 Tag: 1409966 I need only a specific number and not all numbers starting in 140. Thanks so much. |
| Bookmarks |
| Tags |
| grep or |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|