in reply to Wanted: humanly readable `script` output

It shouldn't be too difficult to write a Perl script to strip control characters; I doubt if a module is needed. Look in perlre, perlretut, and perlrecharclass.


Information about American English usage here and here. Floating point issues? Please read this before posting. — emc

  • Comment on Re: Wanted: humanly readable `script` output

Replies are listed 'Best First'.
Re^2: Wanted: humanly readable `script` output
by Anonymous Monk on May 05, 2008 at 14:46 UTC
    What about cat -v ?

      The copy of the man pages I have for cat (GNU coreutils 6.9.92.4-f088d-dirt January 2008) says this: "-v, --show-nonprinting
      " use ^ and M- notation, except for LFD and TAB;"
      it doesn't strip control characters, but maps them to a different form. The FreeBSD entry for cat has a similar, but not identical description for the -v option.


      Information about American English usage here and here. Floating point issues? Please read this before posting. — emc