Added 'Misc./terribly_old_scripts/escspace'
This commit is contained in:
parent
57a3a27c60
commit
55d82f297c
9
Misc./terribly_old_scripts/escspace
Executable file
9
Misc./terribly_old_scripts/escspace
Executable file
@ -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="")
|
Loading…
x
Reference in New Issue
Block a user