Hello everybody.
If I open up a terminal (I use terminator) and I try something like
Code:
ls --color=always /dev/sda* | grep '[0-9]'
I end up with the following wrong and yellow-colored output:
Code:
/dev/sda
/dev/sda1
/dev/sda2
/dev/sda3
/dev/sda4
/dev/sda5
otherwise if I type in
Code:
ls --color=never /dev/sda* | grep '[0-9]'
I have the correct output:
Code:
/dev/sda1
/dev/sda2
/dev/sda3
/dev/sda4
/dev/sda5
Can you explain me this strange behavior? Thanks in advance.
EDIT:
The same applies if I type
Code:
ls --color=always /dev/sda* | grep '0'