News for hackers. Stuff that matters.
Re:S/party/hack like it's 1999 by akkartik on Thursday September 17, 2015 @06:32PM (#10236491)
But it wouldn't fool any text editor, right? Or even less?
Re:S/party/hack like it's 1999 by ajkjk on Thursday September 17, 2015 @06:40PM (#10236521)
Did you read the article?

"'less' doesn't interpret escape sequences unless the -r switch is used, so stop aliasing it to 'less -r' just because there's no colored output."

Re:S/party/hack like it's 1999 by 0942v8653 on Thursday September 17, 2015 @09:16PM (#10237033)
For GNU less, you can use the -R option, which is like -r except that it only lets color escapes through, and not all escape sequences. So if you want to alias less to less -R that is much safer.
Re:S/party/hack like it's 1999 by simgidacav on Friday September 18, 2015 @03:06AM (#10237862)
Tried with vim, I see the escapes, cristal clear.

However, I honestly don't see why I should do something foolish as `curl | sh`, even though from time to time I see websites suggesting this crazy approach. The first thing I think of is "why should I give you control on my shell?".

…I guess, however, this is kind of a natural behavior for the user who doesn't know the shell-fu. I've seen a similar article once about Ubuntu Forums. Unfortunately I can't recall the URL.

Re:S/party/hack like it's 1999 by 78666cdc on Thursday September 17, 2015 @09:12PM (#10237017)
Emacs would show everything.
Re:S/party/hack like it's 1999 by belovedeagle on Thursday September 17, 2015 @10:23PM (#10237213)
As would view, which has the advantage of being, you know, actually meant for perusing text files.
Re:S/party/hack like it's 1999 by rr56 on Friday September 18, 2015 @06:26AM (#10238356)
I sort of like the hexdump approach to viewing text files, here.