diff --git a/Misc./terribly_old_scripts/escspace b/Misc./terribly_old_scripts/escspace new file mode 100755 index 0000000..38172f4 --- /dev/null +++ b/Misc./terribly_old_scripts/escspace @@ -0,0 +1,9 @@ +#!/usr/bin/python3 + +# Escape all spaces in the provided string with '\\'s + +import sys + +r = sys.stdin.read() +r = r.replace(" ", "\\ ") +print(r, end="")