Search Results

Search: Posts Made By: raga
10,930
Posted By raga
yes.i adjusted for 10.but not understanding the...
yes.i adjusted for 10.but not understanding the command
{c=10}c &&c--
can you please explain me the above part,so that i can fine tune for any of my requirement.

Thanks for your help
10,930
Posted By raga
HI, awk '/pattern/{c=11}c&&c--' file this...
HI,
awk '/pattern/{c=11}c&&c--' file
this actually returned me all the 11 lines from the occurance of the pattern in the file.
But i didnt understand how it is working?can you please explain me.
...
10,930
Posted By raga
hi, grep -A is not working for HP unix. $...
hi,
grep -A is not working for HP unix.
$ grep -A 10 "ARMP" tnsnames.ora
grep: illegal option -- A

please let me know is there any other option?
Thanks.
10,930
Posted By raga
grep for a search string
Hi,

I want to grep one file for a search string and get the next 10 lines after the search string.
for eg,in file tnsnames.ora,i have 100 entries.i want to search for one string and get the entry...
Showing results 1 to 4 of 4

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