Subj : text reformating
To : Grant Weasner
From : Maurice Kinal
Date : Wed Jun 04 2025 06:20 pm
Hej Grant!
> and finding any '\t' tabs as well.
'col -x' will replace tabs with spaces.
$ echo -e '\tSome text.' | wc -c
12
$ echo -e '\tSome text.' | col -x | wc -c
19
You'll probably want to replace tabs before counting characters.
Het leven is goed,
Maurice
-o o- o- o-
(\ /) /) /)
^^ ^^ ^^ ^^
... Gif ðu wille godne hlisan habban, ne fægna ðu nanes yfeles.
If you want to have a good reputation, don't rejoice in any evil.
--- GNU bash, version 5.2.37(1)-release (x86_64-pc-linux-gnu)
* Origin: Little Mikey's EuroPoint @ (2:280/464.113)