3

I started a unix keystroke log with script temp.txt; however, it captures my keystrokes verbatim (backspaces, arrows, etc...). What is the best way to remove the control characters from a file named temp.txt that I created with script temp.txt?


NOTE: I am answering my own question

1 Answer 1

3

This does the job...

cat temp.txt | col -bx > no_control_chars.txt

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .