From: Jim Meyering Date: Fri, 4 Oct 1996 04:25:46 +0000 (+0000) Subject: (main): update --version output again X-Git-Tag: TEXTUTILS-1_19n~118 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=630b771f1b9e264af678554890bcec558a154b2a;p=platform%2Fupstream%2Fcoreutils.git (main): update --version output again --- diff --git a/src/cat.c b/src/cat.c index ea0fa65..6029dbf 100644 --- a/src/cat.c +++ b/src/cat.c @@ -581,7 +581,7 @@ main (int argc, char **argv) if (show_version) { - printf ("cat (GNU %s) %s\n", PACKAGE, VERSION); + printf ("cat (%s) %s\n", GNU_PACKAGE, VERSION); exit (EXIT_SUCCESS); } diff --git a/src/cksum.c b/src/cksum.c index 0b823c3..cf2e536 100644 --- a/src/cksum.c +++ b/src/cksum.c @@ -307,7 +307,7 @@ main (int argc, char **argv) if (show_version) { - printf ("cksum (GNU %s) %s\n", PACKAGE, VERSION); + printf ("cksum (%s) %s\n", GNU_PACKAGE, VERSION); exit (EXIT_SUCCESS); } diff --git a/src/comm.c b/src/comm.c index 9bdc640..8f52c1f 100644 --- a/src/comm.c +++ b/src/comm.c @@ -250,7 +250,7 @@ main (int argc, char **argv) if (show_version) { - printf ("comm (GNU %s) %s\n", PACKAGE, VERSION); + printf ("comm (%s) %s\n", GNU_PACKAGE, VERSION); exit (EXIT_SUCCESS); } diff --git a/src/csplit.c b/src/csplit.c index ea4c62a..d41f1a7 100644 --- a/src/csplit.c +++ b/src/csplit.c @@ -1518,7 +1518,7 @@ main (int argc, char **argv) if (show_version) { - printf ("csplit (GNU %s) %s\n", PACKAGE, VERSION); + printf ("csplit (%s) %s\n", GNU_PACKAGE, VERSION); exit (EXIT_SUCCESS); } diff --git a/src/cut.c b/src/cut.c index c1e57ba..7d67386 100644 --- a/src/cut.c +++ b/src/cut.c @@ -737,7 +737,7 @@ main (int argc, char **argv) if (show_version) { - printf ("cut (GNU %s) %s\n", PACKAGE, VERSION); + printf ("cut (%s) %s\n", GNU_PACKAGE, VERSION); exit (EXIT_SUCCESS); } diff --git a/src/expand.c b/src/expand.c index 3b21d64..e5d039d 100644 --- a/src/expand.c +++ b/src/expand.c @@ -368,7 +368,7 @@ main (int argc, char **argv) if (show_version) { - printf ("expand (GNU %s) %s\n", PACKAGE, VERSION); + printf ("expand (%s) %s\n", GNU_PACKAGE, VERSION); exit (EXIT_SUCCESS); } diff --git a/src/fmt.c b/src/fmt.c index bcc972d..8214a5f 100644 --- a/src/fmt.c +++ b/src/fmt.c @@ -398,7 +398,7 @@ main (register int argc, register char **argv) if (show_version) { - printf ("fmt (GNU %s) %s\n", PACKAGE, VERSION); + printf ("fmt (%s) %s\n", GNU_PACKAGE, VERSION); exit (EXIT_SUCCESS); } diff --git a/src/fold.c b/src/fold.c index 6fcfd06..6640694 100644 --- a/src/fold.c +++ b/src/fold.c @@ -310,7 +310,7 @@ main (int argc, char **argv) if (show_version) { - printf ("fold (GNU %s) %s\n", PACKAGE, VERSION); + printf ("fold (%s) %s\n", GNU_PACKAGE, VERSION); exit (EXIT_SUCCESS); } diff --git a/src/head.c b/src/head.c index 3bce5f7..ffcb1c1 100644 --- a/src/head.c +++ b/src/head.c @@ -353,7 +353,7 @@ main (int argc, char **argv) if (show_version) { - printf ("head (GNU %s) %s\n", PACKAGE, VERSION); + printf ("head (%s) %s\n", GNU_PACKAGE, VERSION); exit (EXIT_SUCCESS); } diff --git a/src/md5sum.c b/src/md5sum.c index c234ebb..2be5bec 100644 --- a/src/md5sum.c +++ b/src/md5sum.c @@ -505,7 +505,7 @@ main (int argc, char **argv) if (do_version) { - printf ("md5sum (GNU %s) %s\n", PACKAGE, VERSION); + printf ("md5sum (%s) %s\n", GNU_PACKAGE, VERSION); exit (EXIT_SUCCESS); } diff --git a/src/nl.c b/src/nl.c index 4a41c13..4b3461c 100644 --- a/src/nl.c +++ b/src/nl.c @@ -579,7 +579,7 @@ main (int argc, char **argv) if (show_version) { - printf ("nl (GNU %s) %s\n", PACKAGE, VERSION); + printf ("nl (%s) %s\n", GNU_PACKAGE, VERSION); exit (EXIT_SUCCESS); } diff --git a/src/od.c b/src/od.c index 6c490da..a16e411 100644 --- a/src/od.c +++ b/src/od.c @@ -1793,7 +1793,7 @@ the maximum\nrepresentable value of type `long'"), optarg); if (show_version) { - printf ("od (GNU %s) %s\n", PACKAGE, VERSION); + printf ("od (%s) %s\n", GNU_PACKAGE, VERSION); exit (EXIT_SUCCESS); } diff --git a/src/paste.c b/src/paste.c index 7ae2437..f1c466c 100644 --- a/src/paste.c +++ b/src/paste.c @@ -473,7 +473,7 @@ main (int argc, char **argv) if (show_version) { - printf ("paste (GNU %s) %s\n", PACKAGE, VERSION); + printf ("paste (%s) %s\n", GNU_PACKAGE, VERSION); exit (EXIT_SUCCESS); } diff --git a/src/pr.c b/src/pr.c index 45684ac..e54be80 100644 --- a/src/pr.c +++ b/src/pr.c @@ -616,7 +616,7 @@ main (int argc, char **argv) if (show_version) { - printf ("pr (GNU %s) %s\n", PACKAGE, VERSION); + printf ("pr (%s) %s\n", GNU_PACKAGE, VERSION); exit (EXIT_SUCCESS); } diff --git a/src/split.c b/src/split.c index 6deebf2..3e36841 100644 --- a/src/split.c +++ b/src/split.c @@ -454,7 +454,7 @@ main (int argc, char **argv) if (show_version) { - printf ("split (GNU %s) %s\n", PACKAGE, VERSION); + printf ("split (%s) %s\n", GNU_PACKAGE, VERSION); exit (EXIT_SUCCESS); } diff --git a/src/sum.c b/src/sum.c index d5777d0..992a65f 100644 --- a/src/sum.c +++ b/src/sum.c @@ -235,7 +235,7 @@ main (int argc, char **argv) if (show_version) { - printf ("sum (GNU %s) %s\n", PACKAGE, VERSION); + printf ("sum (%s) %s\n", GNU_PACKAGE, VERSION); exit (EXIT_SUCCESS); } diff --git a/src/tac.c b/src/tac.c index 8b7bceb..68b8619 100644 --- a/src/tac.c +++ b/src/tac.c @@ -622,7 +622,7 @@ main (int argc, char **argv) if (show_version) { - printf ("tac (GNU %s) %s\n", PACKAGE, VERSION); + printf ("tac (%s) %s\n", GNU_PACKAGE, VERSION); exit (EXIT_SUCCESS); } diff --git a/src/tail.c b/src/tail.c index 44f9a33..14c0d97 100644 --- a/src/tail.c +++ b/src/tail.c @@ -977,7 +977,7 @@ main (int argc, char **argv) if (show_version) { - printf ("tail (GNU %s) %s\n", PACKAGE, VERSION); + printf ("tail (%s) %s\n", GNU_PACKAGE, VERSION); exit (EXIT_SUCCESS); } diff --git a/src/tr.c b/src/tr.c index 181f297..159f985 100644 --- a/src/tr.c +++ b/src/tr.c @@ -1848,7 +1848,7 @@ main (int argc, char **argv) if (show_version) { - printf ("tr (GNU %s) %s\n", PACKAGE, VERSION); + printf ("tr (%s) %s\n", GNU_PACKAGE, VERSION); exit (EXIT_SUCCESS); } diff --git a/src/unexpand.c b/src/unexpand.c index aa3b5a6..60169b8 100644 --- a/src/unexpand.c +++ b/src/unexpand.c @@ -439,7 +439,7 @@ main (int argc, char **argv) if (show_version) { - printf ("unexpand (GNU %s) %s\n", PACKAGE, VERSION); + printf ("unexpand (%s) %s\n", GNU_PACKAGE, VERSION); exit (EXIT_SUCCESS); } diff --git a/src/uniq.c b/src/uniq.c index 38d8759..ad384ff 100644 --- a/src/uniq.c +++ b/src/uniq.c @@ -384,7 +384,7 @@ main (int argc, char **argv) if (show_version) { - printf ("uniq (GNU %s) %s\n", PACKAGE, VERSION); + printf ("uniq (%s) %s\n", GNU_PACKAGE, VERSION); exit (EXIT_SUCCESS); } diff --git a/src/wc.c b/src/wc.c index 4bd20b4..6c7e6e6 100644 --- a/src/wc.c +++ b/src/wc.c @@ -293,7 +293,7 @@ main (int argc, char **argv) if (show_version) { - printf ("wc (GNU %s) %s\n", PACKAGE, VERSION); + printf ("wc (%s) %s\n", GNU_PACKAGE, VERSION); exit (EXIT_SUCCESS); }