Search Results

Search: Posts Made By: ramana117
5,323
Posted By ramana117
Thanks you very much !!!!, nawk worked.
Thanks you very much !!!!, nawk worked.
5,323
Posted By ramana117
hi,i tried with that option also. still getting...
hi,i tried with that option also. still getting error. below is my exact command.

# awk '$0~s{print r[NR%b]}{r[NR%b]=$0}' b=4 s="0x9f 0x81 0x19 0x01 0x02" test2.log | pg
awk: syntax error near...
5,323
Posted By ramana117
thanks to you all, i am looking single line...
thanks to you all, i am looking single line command and i am getitng error for first two replies.

grep: illegal option -- B
grep: illegal option -- 4
Usage: grep -hblcnsviw pattern file . . .
...
5,323
Posted By ramana117
egrep 4th line from match
Can some one help me to print 4th line before the match using egrep or grep command options.
i have a very large file and i need to search the entire file, look for the match (key word) and print...
Showing results 1 to 4 of 4

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