public
Created — forked from jperkelens/script.sh

AWK in progress.

  • Download Gist
script.sh
Shell
1 2 3 4 5 6 7 8 9 10
#!/bin/bash
 
gawk '
BEGIN {
FS = "\t";
}
$7 == 1 {
print $6 " " strftime("%Y%m%d", substr($15, 0, length($15) - 3));
}
' $1

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.