Added 'Misc./terribly_old_scripts/escspace'

This commit is contained in:
anon 2024-12-10 20:39:02 +01:00
parent 57a3a27c60
commit 55d82f297c

@ -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="")