Преглед изворни кода

Much backslash abuse so that the apostrophe in my own n...
Author: bod
Date: 2001-02-20 07:28:43 GMT
Much backslash abuse so that the apostrophe in my own name doesn't
break things (grrr).

Arch Librarian пре 22 година
родитељ
комит
69adf430b8
1 измењених фајлова са 3 додато и 2 уклоњено
  1. 3 2
      buildlib/mkChangeLog

+ 3 - 2
buildlib/mkChangeLog

@@ -1,7 +1,8 @@
 #!/bin/sh
 
-NAMES="`sed -ne 's/^.*CVS:\([^ ]\+\) \([^<]\+\) <\([^>]*\)>/\
-	-u '\''\1:\2:\3'\''/gp' AUTHORS`"
+NAMES="`sed -ne 's/'\''/'\''\\\\'\'''\''/g;
+	         s/^.*CVS:\([^ ]\+\) \([^<]\+\) <\([^>]*\)>/\
+		    -u '\''\1:\2:\3'\''/gp' AUTHORS`"
 OPTIONS="-l 78"
 
 # Generate the standard ChangeLog