![]() |
|
|
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 |
| how to grep certain pattern | aoussenko | Shell Programming and Scripting | 5 | 05-15-2009 11:58 AM |
| Pattern Matching - serach and replace script | bsandeep_80 | UNIX for Dummies Questions & Answers | 10 | 04-08-2009 01:29 AM |
| serach and replace a specific pattern or value in a xml file | kiranreddy1215 | Shell Programming and Scripting | 1 | 08-13-2008 01:21 PM |
| how to grep the pattern ? | faviji | Shell Programming and Scripting | 2 | 08-12-2008 09:37 AM |
| How to grep this pattern?? | askumarece | Shell Programming and Scripting | 13 | 02-20-2008 07:03 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
pattern serach using grep
Frds
I have to search for a string which is starting with brighton which will be first in the line of a text file test1.txt. The contents of test1.txt are file names like ----- brighton brighton_gt hst_brighton gst_brighton -------so many files------ --------- i have retrieve only brighton,brighton_gt like files only. First occurance should be brighton. i am using grep command but it is giving all the file names which are having brighton whether it comes first or middle. can any one suggest .. Thanx |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|