3

Convert a typescript file to a list of commands (history)

view full story
linux-howto

http://unix.stackexchange.com – I wanted to record a linux session so I could use it as documentation for a "how to install" guide. I found something on the internet that suggested that the script command would be good for this, and so I started it and ran through my installation. Of course, I didn't read closely enough to realize that the script command actually records keystrokes, so when I go to create my documentation it's full of lines that look like this: $ make test[K[K[K[Kinstall[1@s[1@u[1@d[1@o[1@ I know that I can use script replay to play the script back, but what I really want to do is run something like scr (HowTos)