Search Results

Search: Posts Made By: newageBATMAN
14,873
Posted By newageBATMAN
awk -F" " '{if($1=="ndc" && $2=="ndc") {print...
awk -F" " '{if($1=="ndc" && $2=="ndc") {print NR"\t"$0}}' inputFile

Change your Column patterns in place of "ndc" ......

Output:
3 ndc ndc 451
5 ndc ndc 100
1,202
Posted By newageBATMAN
awk 'BEGIN{FS=";"}{print $2}' filename hope...
awk 'BEGIN{FS=";"}{print $2}' filename

hope this helps
Showing results 1 to 2 of 2

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