I'm on a Linux system and I'm trying to use 'column' on a file that I've spiked with an extended character to use as the separator. Reason being that any normal printing character is liable to show up where I don't want separation to occur, so by using 'sed' to find only those places where I do what the columns to separate, and adding an extended character at those places, then using that same extended character as the 'column' separator I should be OK.
Alas, trying to use hex character AE:
$ column -ts\xAE junk1
column: Invalid or incomplete multibyte or wide character
... or any other extended character doesn't work and I've tried every combination of quotes and other tricks I can think of. But ts sounds like 'column' is open to using extended characters, so I just have to enter the thing properly.
\x7f
supposed to be? If you expect it to be a newline, you again need to use ANSI escaping:-ts $'\x7f'
. – terdon Jan 15 '21 at 16:37