Search Results

Search: Posts Made By: thejitha
3,958
Posted By RudiC
Would sed be an option? Trysed -r 's/^(.{16})...
Would sed be an option? Trysed -r 's/^(.{16}) /\1C/' file
3,958
Posted By Don Cragun
I haven't seen anything yet saying what OS is...
I haven't seen anything yet saying what OS is being used here, but the following slightly simpler awk script may do what is wanted:
awk '{a=substr($0,17,1); a=(a!=" ")?a:"C"; print substr($0,1,16) a...
Showing results 1 to 2 of 2

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