![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help on egrep | arund_01 | Shell Programming and Scripting | 2 | 05-13-2008 10:26 AM |
| egrep help | Darklight | Shell Programming and Scripting | 1 | 04-17-2008 11:34 PM |
| Egrep cheat sheet anywhere? Looking for meaning of egrep -c | leelm | UNIX for Dummies Questions & Answers | 2 | 01-11-2008 12:37 PM |
| egrep help | Vozx | Shell Programming and Scripting | 2 | 12-09-2005 07:42 AM |
| Egrep Help | FuzzyNips | UNIX for Dummies Questions & Answers | 2 | 11-10-2004 01:25 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
egrep
Hi,
I don't understand what is the correct way of writing: egrep -l '{$min,$max} $pattern' $filename I tryed to search on google how to wtrite {$min, $max}, but I don't have success |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
What task exactly are you trying to do? -- not how you think you should do it.
|
|
#3
|
|||
|
|||
|
Quote:
But I don't know how to do it |
|
#4
|
|||
|
|||
|
How to pass a list of files
Another question about EGREP:
How can I pass a list of files to egrep? I Tryed: Code:
find | egrep -l abc ls -lR | egrep -l abc (standard input) Why? |
|
#5
|
|||
|
|||
|
Hi,
I have to write a command (with egrep, awk or sed) to list the name of the files that contain a pattern that is between two values: min e max. It also have to return the number of time the pattern has been found in every simgle files is listed. I tryed to do it with egrep, but I have no success. Do you have any advice? |
|
#6
|
|||
|
|||
|
show how you have no success so that others can see what's wrong with your code
|
|
#7
|
|||
|
|||
|
Quote:
" but the shell says: (standard input) " |
|||
| Google The UNIX and Linux Forums |