Search Results

Search: Posts Made By: vimalm22
4,397
Posted By vimalm22
Hi, Thanks a lot but I m afraid that when i...
Hi,

Thanks a lot but I m afraid that when i execute the above command it says "-A" not a valid option.

Please suggest me a different option to try with.
4,397
Posted By vimalm22
Printing 10 lines above and below the search string: help needed
Hi,

The below code will search a particular string(say false in this case) and return me 10 lines above and below the search string in a file.

" awk 'c-->0;$0~s{if(b)for(c=b+1;c>1;c--)print...
Showing results 1 to 2 of 2

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