When I run the following
awk -F\, '{print $2,":",$1}'
It prints
"First : Second"
How can I get
"First:Second"
Omit the ,s
awk -F\, '{print $2 ":" $1}'
awk -F, -v OFS=: '{print $2, $1}'
Apr 3, 2012 at 0:00
awk '{printf "%s:%s",$2,$1}'
You can also use printf instead of print to get more control over printing things.