Timeline for Removing control chars (including console codes / colours) from script output
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 12, 2023 at 11:40 | comment | added | Stéphane Chazelas |
See How to convert escape sequences to text while preserving display format? for a similar approach that doesn't require expect.
|
|
| Jul 11, 2018 at 5:27 | comment | added | FeRD |
There's a far easier way to generate the timing file. The fields are "delay blocksize", so there's no reason not to just make it "0 <entirefile>" and dump the whole thing with no delay. You can do that by taking the size of the script minus the first line (tail -n +2 typescript|wc -c), and create the timing file with echo "0 "`tail -n +2 typescript|wc -c` > timing. That'll be basically instant, and scriptreplay will replay the entire script at fastest possible speed.
|
|
| May 27, 2016 at 17:29 | comment | added | barteks2x | The command for generating time file generated 100% CPU usage for a few minutes and after it finished my memory usage was 100% and running command resulted in "fork: cannot allocate memory". And it didn't really work as expected. | |
| Jan 22, 2015 at 15:40 | history | edited | Michael Mrozek | CC BY-SA 3.0 |
added 1443 characters in body
|
| Jan 22, 2015 at 13:20 | review | Low quality posts | |||
| Jan 22, 2015 at 13:32 | |||||
| Jan 22, 2015 at 12:55 | review | Late answers | |||
| Jan 22, 2015 at 13:16 | |||||
| Jan 22, 2015 at 12:45 | review | First posts | |||
| Jan 22, 2015 at 13:39 | |||||
| Jan 22, 2015 at 12:37 | history | answered | hnkchnsk | CC BY-SA 3.0 |