quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Quilt-dev] expanded $EDITOR in quilt.1


From: Jean Delvare
Subject: [Quilt-dev] expanded $EDITOR in quilt.1
Date: Mon, 5 Sep 2005 23:05:51 +0200

Hi all,

Today I noticed that the quilt manual page includes expanded $EDITOR
values in the "edit" and "header" subsections. The value is the value of
$EDITOR when the manual page was generated as part of the quilt build
process. It seems to be totally irrelevant here as each user may
customize $EDITOR individually.

Thus, I would propose that we strip the expanded value from the manual
page. The following hack seems to do the trick just fine. Comments?

Thanks.

Index: Makefile.in
===================================================================
RCS file: /cvsroot/quilt/quilt/Makefile.in,v
retrieving revision 1.63
diff -u -r1.63 Makefile.in
--- Makefile.in 28 Aug 2005 18:52:10 -0000      1.63
+++ Makefile.in 5 Sep 2005 21:03:27 -0000
@@ -153,7 +153,8 @@
                 grep -v 'Usage: quilt' |                \
                   sed -e $$'s/^\t//'                    \
                       -e $$'s/\t/\\\n/' |               \
-                  sed -e 's/^\(-.*\)$$/.IP "    \1" 8/';\
+                  sed -e 's/^\(-.*\)$$/.IP "    \1" 8/' \
+                      -e 's/\$$EDITOR ([^)]*)/$$EDITOR/'; \
                 echo;                                   \
               done                                      \
             ;;                                          \


-- 
Jean Delvare




reply via email to

[Prev in Thread] Current Thread [Next in Thread]