You can do it without the loop. Assign your timestring back into $1 and set $2='' (nullstring). Then just "print" will dump the entire revised line.
1
1
Yeah that’s true. Another argument for using a shell loop instead of awk.
May 4, 2021 · 9:09 AM UTC
