![]() |
|
|
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 |
| egrep/grep result of more files | tvrman | Shell Programming and Scripting | 3 | 08-07-2008 09:29 AM |
| display the result of wc -l with words before and after the result | melanie_pfefer | UNIX for Dummies Questions & Answers | 3 | 04-30-2008 08:33 AM |
| Egrep cheat sheet anywhere? Looking for meaning of egrep -c | leelm | UNIX for Dummies Questions & Answers | 2 | 01-11-2008 03:37 PM |
| Outputting formatted Result log file from old 30000 lines result log<help required> | vikas.iet | Shell Programming and Scripting | 5 | 12-02-2007 10:43 PM |
| egrep counting every 2 lines of result as 1 | Orbix | UNIX for Dummies Questions & Answers | 1 | 11-20-2007 08:12 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
how to make menu of result from egrep
hi,
im just starting with scripting , i have de following situation im doing a search in a data folder with egrep egrep -i "title.regu." `find . -name "*.dat"` the result is : ./20080816212245/index.dat:title Regular Expressions ./20080811212216/index.dat:title Reguliere Expressies Tutorial ./20080815173529/index.dat:title Reguliere Expressies handout Now i want to create a simple menu of the result, so it's possible to choose from above results.( so for above result, you get a menu of 3 options), then when i choose 1 for example (the first outcoming result), is must go to folder called 20080816212245, (this is de first of the result, then in that folder is file index.html, (so cd 20080816212245 then nano index.html) Is there an easy way to do this?. ps im have no knowledge of sed e.t.. can this be done without? thank a lot. |
| Bookmarks |
| Tags |
| unix commands |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|