Search Results

Search: Posts Made By: Scrutinizer
1,741
Posted By Scrutinizer
No I mean directly, without using heads and...
No I mean directly, without using heads and tails..

cmd_sys NOD_$y GETA-TILL-INF | awk 'NR==3{s=$1} NR==8{p=1} /--/{p=0} p{print s, $NF}'
1,741
Posted By Scrutinizer
Another option awk 'NR==3{s=$1} NR==8{p=1}...
Another option
awk 'NR==3{s=$1} NR==8{p=1} /--/{p=0} p{print s, $NF}' file
Showing results 1 to 2 of 2

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