uncolor (194B)
1 #!/bin/sh 2 3 # Removes ANSI color codes from its stdin, prints to stdout. 4 # Source: https://stackoverflow.com/questions/17998978/removing-colors-from-output 5 6 sed 's/\x1B\[[0-9;]\{1,\}[A-Za-z]//g'
configMy configuration files and custom scripts. | |
| git clone https://git.tronto.net/config | |
| Download | Log | Files | Refs |
uncolor (194B)
1 #!/bin/sh 2 3 # Removes ANSI color codes from its stdin, prints to stdout. 4 # Source: https://stackoverflow.com/questions/17998978/removing-colors-from-output 5 6 sed 's/\x1B\[[0-9;]\{1,\}[A-Za-z]//g'