Let’s assume you have a simple command such as this:
|
|
…where -t
is the field separator (and -k
is the sort key).
You can specify field separators using a different notation, instead of the literal character:
|
|
This example uses x01
as the field separator - which is the “start of heading” (SOH) control character.
See here for more details.
This is actually the ANSI-C quoting syntax.
Another example:
|
|
This is the octal code 042
representing a double quote (").
There are various commands which support this notation. Particularly useful if you need to handle control characters.