Search Results

Search: Posts Made By: naree
4,159
Posted By naree
Hi, Probably you can try this one. awk '...
Hi,
Probably you can try this one.

awk ' { if ( $0~/Header/ || $1 == 5000 || $5 == 0 ) { print } }' filename > new

mv new filename

Regards
Naree
5,694
Posted By naree
try this out
Hi ,

diff -U 2 file1 file2 | awk '/^\ / {print $0}' >> file3

diff -U 2 file1 file2 | awk '/^-/ {print $0}' >> file4

Thanks&Regards
Naree
Showing results 1 to 2 of 2

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