[wplug] logging console logging

Vance Kochenderfer vkochend at nyx.net
Mon Jun 2 13:45:53 EDT 2008


"James O'Kane" <jo2y at midnightlinux.com> wrote:
> script is just recording exactly what is in the output. If you don't
> want escape characters, don't let them be output to the screen.

And one way to filter them out would be
  cat logfile | tr -d "\000-\007\013-\037"
which removes all control characters except backspace, tab, and
linefeed.

Vance Kochenderfer        |  "Get me out of these ropes and into a
vkochend at nyx.net          |   good belt of Scotch"    -Nick Danger


More information about the wplug mailing list