![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| string index | dr46014 | UNIX for Dummies Questions & Answers | 3 | 09-30-2009 12:18 PM |
| Find index of last occurence of a character within a string | joyan321 | Shell Programming and Scripting | 5 | 06-20-2009 12:24 AM |
| Problem when assign the array with the string index | youareapkman | Shell Programming and Scripting | 4 | 09-09-2008 05:22 AM |
| Find first digit in string using expr index | jcd | Shell Programming and Scripting | 4 | 09-07-2008 12:18 AM |
| Grepping for filenames containing value in specific segment within file | HLee1981 | Shell Programming and Scripting | 4 | 08-10-2006 02:12 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi All,
I have a file (Names.txt) and the contents of the file is give below. $ cat Names.txt FF313207008.txt FF223207007.txt FF143207006.txt FF372150600.txt FF063407005.txt FF063307005.txt $ From these given file names I want to find the files which has the 6th index value as 2. So the needed out put will be as below. FF313207008.txt FF223207007.txt FF143207006.txt Please help me if there is any command to do that. Thanks for your help. Cheers, Krish |
![]() |
| Bookmarks |
| Tags |
| egrep, grep, regex, regular expressions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|