diff options
| author | cc4b05f61e2d8f77114750386c9f9a60 <cc4b05f61e2d8f7@7114750386c9f9a60> | 2023-05-11 14:38:47 +0000 |
|---|---|---|
| committer | cc4b05f61e2d8f77114750386c9f9a60 <cc4b05f61e2d8f7@7114750386c9f9a60> | 2023-05-11 14:38:47 +0000 |
| commit | f5450bfd35a6410528d124f534c2b1a958cafe51 (patch) | |
| tree | a808b12d6ad5343fabdec7b8918df6b4d844e03f /src/putdos_helper | |
| parent | 5ad2bb7a6ac7e97c031908d2439808a00fff6214 (diff) | |
dmsdos-0.9.2.2 addeddmsdos-0.9.2.2
Diffstat (limited to 'src/putdos_helper')
| -rw-r--r-- | src/putdos_helper | 14 |
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 |
