Hi all,
Just wondering if there's a way to write the following command in just one awk call:
#!/bin/sh
...
awk '{printf "%s" (NR%5 ? "\t" : "\n"),$0}' | awk 'BEGIN{OFS="\t"} {print "'"$1"'", "'"$2"'", $2, $1, $3, $4, $5, "'"`date +%d\/%m\/%Y\ %H:%M:%S`"'", ""}'
...
stdout=
27/07/07
92410...