Search Results

Search: Posts Made By: amitranjansahu
2,916
Posted By pravin27
Try this, awk -F"|" 'BEGIN{a["JAN"]="01" ...
Try this,

awk -F"|" 'BEGIN{a["JAN"]="01"
a["FEB"]="02"
a["MAR"]="03"
a["APR"]="04"
a["MAY"]="05"
a["JUN"]="06"
a["JUL"]="07"
a["AUG"]="08"
a["SEP"]="09"
a["OCT"]="10"
a["NOV"]="11"...
4,148
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
Forum: Solaris 05-10-2010
1,370
Posted By pludi
Check the UNIX Rosetta Stone...
Check the UNIX Rosetta Stone (http://bhami.com/rosetta.html), it should help you with most files and commands that can be translated directly.
Showing results 1 to 3 of 3

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