Hello,
On 2019-04-28 2:39 p.m., Peng Yu wrote:
Thanks. Where the `[ K` come from? I only see `[ m` but not `[ K`.
What does `[ K` mean? Thanks.
http://pueblo.sourceforge.net/doc/manual/ansi_color_codes.html
I recommend searching for complete ANSI code details, not just
"coloring" (m).
For
Thanks. Where the `[ K` come from? I only see `[ m` but not `[ K`.
What does `[ K` mean? Thanks.
http://pueblo.sourceforge.net/doc/manual/ansi_color_codes.html
On Sun, Apr 28, 2019 at 2:49 PM Assaf Gordon wrote:
>
> Hello,
>
> On 2019-04-28 11:23 a.m., Peng Yu wrote:
> >
> > In the 2nd example,
Hello,
On 2019-04-28 11:23 a.m., Peng Yu wrote:
In the 2nd example, it is not sorted as what I want. Why is it so?
$ printf '%s\t%s\n' a 1 a 2 |grep --color=always a | sort -k 2,2nr
a 2
a 1
$ printf '%s\t%s\n' a 1 a 2 | grep --color=always a$'\t' | sort -k 2,2nr
a 1
a 2
Hi,
In the 2nd example, it is not sorted as what I want. Why is it so?
$ printf '%s\t%s\n' a 1 a 2 |grep --color=always a | sort -k 2,2nr
a 2
a 1
$ printf '%s\t%s\n' a 1 a 2 | grep --color=always a$'\t' | sort -k 2,2nr
a 1
a 2
--
Regards,
Peng