Search Results

Search: Posts Made By: jiam912
2,016
Posted By jiam912
Robin, I use to work with awk. The...
Robin,

I use to work with awk.

The code I try is the below.

awk '/0.5 /{if(s){print s;s=$NF+0}else{s=$NF+0}}
/0.5/{s=s""$NF+0})
END{print s}' input.txt

My OS is debian.

Tks
Showing results 1 to 1 of 1

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