Thursday, August 18, 2011

Remove terminal escape sequences from text.

sed -e $'s/\033\\[[0-9;?]*[a-zA-Z]//g'

No comments: