From: Lars J. Aas Date: Tue, 10 Apr 2001 11:29:53 +0000 (+0000) Subject: use here-docs in print_usage/print_version X-Git-Tag: autoconf-2.50~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f29d0d8fc5fcf974e7fee0786c327a936cf922ee;p=thirdparty%2Fautoconf.git use here-docs in print_usage/print_version --- diff --git a/ChangeLog b/ChangeLog index 209b4b100..c3d8c2356 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-04-10 Lars J. Aas + + * autoupdate.in (print_usage): print "\ at end of line does not + work as expected, so change block to here-doc instead. + (print_version): Same. + 2001-04-09 Steven G. Johnson * doc/autoconf.texi: Replace all tab characters with (8) spaces, diff --git a/autoupdate.in b/autoupdate.in index 17d760777..e61462adf 100644 --- a/autoupdate.in +++ b/autoupdate.in @@ -101,7 +101,7 @@ sub END # Display usage (--help). sub print_usage () { - print "\ + print <<"END"; Usage: $0 [OPTION] ... [TEMPLATE-FILE...] Update the TEMPLATE-FILE... if given, or \`configure.ac' if present, @@ -123,7 +123,7 @@ Environment variables: AUTOCONF autoconf @VERSION@ Report bugs to . -"; +END exit 0; } @@ -133,14 +133,14 @@ Report bugs to . # Display version (--version). sub print_version { - print "\ + print <. -"; +END exit 0; } @@ -133,14 +133,14 @@ Report bugs to . # Display version (--version). sub print_version { - print "\ + print <. -"; +END exit 0; } @@ -133,14 +133,14 @@ Report bugs to . # Display version (--version). sub print_version { - print "\ + print <