summaryrefslogtreecommitdiffstats
path: root/src/putdos_helper
diff options
context:
space:
mode:
Diffstat (limited to 'src/putdos_helper')
-rw-r--r--src/putdos_helper14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/putdos_helper b/src/putdos_helper
new file mode 100644
index 0000000..52580ca
--- /dev/null
+++ b/src/putdos_helper
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+FIRST=y
+read A B
+while [ "$A" != "" -a "$B" != "" ];
+do
+if [ "$FIRST" = "n" ];
+then
+echo -n "|"
+fi
+echo -n "sed s/$A/$B/g"
+read A B
+FIRST=n
+done