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
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
What task exactly are you trying to do? -- not how you think you should do it.
I'm trying to search in a list of files, the files that contain a pattern for a number of times between Min and Max
But I don't know how to do it
Another question about EGREP:
How can I pass a list of files to egrep?
I Tryed:
find | egrep -l abc
ls -lR | egrep -l abc
but the shell says:
(standard input)
Why?
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?
show how you have no success so that others can see what's wrong with your code
I have already said how I have no success..
" but the shell says:
(standard input) "
No one can help me?