[Ultrapossum-cvs 1091] ultrapossum/init.d 1.3,1.4,10edit

Back to archive index

Masato Taruishi taru****@users*****
2004年 10月 31日 (日) 23:11:07 JST


===================================================================
RCS file: ultrapossum/init.d/10edit,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ultrapossum/init.d/10edit	2004/10/06 11:58:06	1.3
+++ ultrapossum/init.d/10edit	2004/10/31 14:11:07	1.4
@@ -3,8 +3,9 @@
 backslash() {
   ( IFS="\n"; while read line
   do
-    echo "$line\\"
-  done )
+    echo -n "$line" | sed 's/\\/\\\\/g'
+    echo "\\"
+  done ) 
 }
 
 # replace_vaconf <config> <contents> <id>



Ultrapossum-cvs メーリングリストの案内
Back to archive index