Jump to content

Command Crate ¿about?

Add separators between printed fields (awk)

awk -v SEPARATOR="," '{print $1 " " SEPARATOR " " $2 " " SEPARATOR " " $3}'

Adds the specified separator (a comma) between the printed fields ($1, $2, and $3) in the output.

formatting [kb:1]