Yes, I tried it. For the record, this is what is produced for the
different runs:
cer...@xango:/usr/src/buildd/coreutils/src$ ls --color=auto|tail -1 | od -Xc
0000000 2e736579 00000a6f
y e s . o \n
0000006
cer...@xango:/usr/src/buildd/coreutils/src$ ls --color=always|tail -2 | od -Xc
0000000 2e736579 5b1b0a6f 0000006d
y e s . o \n 033 [ m
0000011
cer...@xango:/usr/src/buildd/coreutils/src$ ls --color|tail -2 | od -Xc
0000000 2e736579 5b1b0a6f 0000006d
y e s . o \n 033 [ m
0000011
cer...@xango:/usr/src/buildd/coreutils/src$ ls --color=auto|tail -2 | od -Xc
0000000 2e736579 65790a63 0a6f2e73
y e s . c \n y e s . o \n
0000014
cer...@xango:/usr/src/buildd/coreutils/src$
Also, when I run 'ls --color|less -FXR' all I see is an additional (looking
empty) last line. By the way, 'ls --color' is identical with 'ls
--color=always'. The --color parameter defaults to 'always'.
So, what do you mean as "confusing less -FXR"?
--
ls --color=always outputs possibly-extraneous ESC [ m on separate line,
confusing less -FXR
https://bugs.launchpad.net/bugs/494663
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs