News for hackers. Stuff that matters.
Re:Util-linux cheat sheet by atsaloli on Saturday September 08, 2012 @01:33PM (#4493436)
Which control characters?

And you say around file names... did you run "ls" while in your script session? if you generated colorized output, script will record that.

If you don't want colorized output, run "\ls" (bypass any alias you might have for ls, and just run ls directly) or use "ls --color=never".

You'll still see ^M at the end of each line.

You can run "dos2unix typescript" to strip those out.

It's script's job to record your entire session, including any control characters, and it does that.

Re:Util-linux cheat sheet by dhimes on Saturday September 08, 2012 @01:57PM (#4493501)
You are exactly right. Thank you.
Re:Util-linux cheat sheet by atsaloli on Tuesday September 11, 2012 @06:50PM (#4508178)
You are most welcome.