Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am a tech writer and I need to include a boot dump in a document. The dump the engineers gave me has some "bad characters" that I need to delete. What form does a "bad character" take? There are lines that look like: 14;1h 0m2J0m2Jm2J1

Is any line with number followed by a semi colon an artifact?

share|improve this question

That stuff you show looks like parts of ESC-sequences. Do you have the original file? Then you could filter that stuff out, here is a description of the ANSI escape sequences. Get your friendly geek write you a sed(1) script to filter them out (if on Unix/Linux; there should be similar search&replace tools for other systems).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.