Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: amitranjansahu
2,122
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"...
3,676
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,087
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

 

Featured Tech Videos

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