On Fri, May 30, 2014 at 11:54 AM, craig constantine
<[email protected]> wrote:
> …I hadn’t thought of trying to get the terminal emulator (iTerm on Mac) to 
> clean up for me as it writes the capture! I’ll look into that.
>
> What I have is hundreds of text files that I want to strip/clean-up. We 
> attach the session captures to system journal entries, and I wanted to clean 
> the old ones up for readability.

Last century, I worked on a commercial product similar to the freeware
expect utility.   It  included a program similar to the autoexpect
program which did some of these kinds of cleanups on the fly.   You
might take a look at autoexpect to get ideas for techniques if you
decide to write your own.

Bill Bogstad
_______________________________________________
Discuss mailing list
[email protected]
https://lists.lopsa.org/cgi-bin/mailman/listinfo/discuss
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to