Search Results

Search: Posts Made By: HugoH
12,764
Posted By HugoH
How to list file names instead of lines when grep a gzcat command?
Hi,

I want to list filenames instead of lines when i search in compresed files for a string.

#gzcat *.gz | grep -l 12345

gives me:

<stdin>


Anyone got a solution on this problem?
3,382
Posted By HugoH
:b: Thanks, thanks & thanks again! It...
:b:

Thanks, thanks & thanks again!

It solved my problem.

:b:
3,382
Posted By HugoH
But i cannot specify the position then? The...
But i cannot specify the position then?

The strings may be at more places but they are only interesting if they are in this positions.
3,382
Posted By HugoH
Search for multiple strings in specific position
Hi,

I need to search for some strings in specific positions in a file.

If the strings: "foo1", "foo2" or "foo3" is on position 266 or position 288 in a file i want the whole line printed.

...
1,848
Posted By HugoH
nawk seems to work in a different way, it ask for...
nawk seems to work in a different way, it ask for a program, i dont get how it work from the man page
1,848
Posted By HugoH
Awk cannot handle more than 30 files
I trying to search for lines with multiple search criterias in an archive of zipped files. But awk seems to have a limit.

Any idea how to fix it?

I'm on a sun solaris system.

Here is my...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 10:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy