tstupid dash - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 953c1d1b128e518da203c87d4e6c012bac2dadde
(DIR) parent 0df0beb8620d7ae3c119af0d3587800fe8f32c39
(HTM) Author: rsc <devnull@localhost>
Date: Sun, 10 Dec 2006 00:19:46 +0000
stupid dash
Diffstat:
M lib/moveplan9.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/lib/moveplan9.sh b/lib/moveplan9.sh
t@@ -20,7 +20,8 @@ then
fi
cd $PLAN9
-echo '
+# Avoid broken builtin echo in dash that turns \1 into ^A
+`which echo` '
X ,s;'$old'($|/|});'$new'\1;g
X/'"'"'/w
q