6 lines
131 B
Bash
Executable File
6 lines
131 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Remove ANSI escape sequences and ^M carriage return characters
|
|
|
|
perl -pe 's/\e\[[0-9;]*[mGKHF]//g; s/\r//g'
|
|
|