[nSLUG] Any Perl Experience around?
hnassrat at gmail.com
Thu Jun 22 12:46:13 ADT 2017
On Thu, Jun 22, 2017 at 12:39 PM, Hatem Nassrat <hnassrat at gmail.com> wrote:
> it replaces the output of /bin/ls -Fc --color quite well, it also keeps
> the directory marker or execution asterisk marker ... BUT ... seems to mess
> up when passed to the column command.
The reason seems to be because the column command is counting the escape
characters when tabulating the answer, thus causing the columns that
contain escape characters to be longer than the others, but when printed
those characters do not actually show up thus looking like it is
misaligned. Also the column command uses tabs to fill space between
columns, again explains the misalignment.
Your problem is most likely with the column command. Also this is a long
explanation to say my regex is solid :P
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nSLUG