]> granicus.if.org Git - sudo/commitdiff
Don't use embedded newline when matching, use \n. This got expanded
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 18 Sep 2012 02:10:23 +0000 (22:10 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 18 Sep 2012 02:10:23 +0000 (22:10 -0400)
at some point.  Bug #573

--HG--
branch : 1.7

fixman.sh

index 0e2f91f5f0d8dbcc81dfc90795933c8bcc52352e..08f5b2eeed08498a05cf51ff902bcea3305ded84 100755 (executable)
--- a/fixman.sh
+++ b/fixman.sh
@@ -20,8 +20,7 @@ case "$OUTFILE" in
        cat >>"$OUTFILE" <<-'EOF'
                /^\\fR0\\fR$/ {
                        N
-                       s/^\\fR0\\fR\
-                       minutes\.$/unlimited./
+                       s/^\\fR0\\fR\nminutes\.$/unlimited./
                }
        EOF