Hash : d8ed72d7 Author : Thomas de Grivel Date : 2023-02-13T23:32:29
Download
1 2 3 4 5 6 7 8
#!/bin/sh for F; do sed -e "s|$(printf '\33\\[0;34m')|<span style=\"color: blue;\">|g" \ -e "s|$(printf '\33\\[0;35m')|<span style=\"color: purple;\">|g" \ -e "s|$(printf '\33\\[0m')|</span>|g" \ -e 's|$|<br/>|' \ < "$F" > "$F.html" done