How to remove or strip control chars in the 'script' utility?
I know the documentation explains that script(1) doesn't handle control characters.
Is there some way I can either a) strip them or b) prevent them in the first place?
I'm trying to use a very large, complicated bunch of shell scripts & I would like a better tool for trading instructiosn with my coworkers.
(I would have looked it up myself... but "script" is well-nigh ungoogleable!)
Look into sed or perl. Both are excellent at string and regular-expression parsing.
|All times are GMT -5. The time now is 02:55 PM.|