added deansi helper
This commit is contained in:
5
bin/deansi
Executable file
5
bin/deansi
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# Remove ANSI escape sequences and ^M carriage return characters
|
||||||
|
|
||||||
|
perl -pe 's/\e\[[0-9;]*[mGKHF]//g; s/\r//g'
|
||||||
|
|
||||||
Reference in New Issue
Block a user