Visit The New, Modern Unix Linux Community

Search Results

Search: Posts Made By: RudiC
2,313
Posted By RudiC
I'm afraid that sed script doesn't lead you...
I'm afraid that sed script doesn't lead you anywhere. Try
$ awk '/^Date/ {TMP = $2; next} /^Time/ {if (!HDDone++) print; next} !/^ *$/ {print TMP "_" $0}' file
Time Counter C00005A_1 C000B_1...
Showing results 1 to 1 of 1

 

Featured Tech Videos

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