]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(main): update --version output to conform to coding standard
authorJim Meyering <jim@meyering.net>
Fri, 4 Oct 1996 04:15:08 +0000 (04:15 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 4 Oct 1996 04:15:08 +0000 (04:15 +0000)
22 files changed:
src/cat.c
src/cksum.c
src/comm.c
src/csplit.c
src/cut.c
src/expand.c
src/fmt.c
src/fold.c
src/head.c
src/md5sum.c
src/nl.c
src/od.c
src/paste.c
src/pr.c
src/split.c
src/sum.c
src/tac.c
src/tail.c
src/tr.c
src/unexpand.c
src/uniq.c
src/wc.c

index bfd7f6e03b52a23a18ac75445fa2bf1121253f4a..ea0fa6559a9dad5fb47fb26d312a052117aac779 100644 (file)
--- a/src/cat.c
+++ b/src/cat.c
@@ -581,7 +581,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("cat - %s\n", PACKAGE_VERSION);
+      printf ("cat (GNU %s) %s\n", PACKAGE, VERSION);
       exit (EXIT_SUCCESS);
     }
 
index b7100564d862278bdaf6dc506bffa62794ba146b..0b823c33c85cb74fa74362995b00afbefc5e5408 100644 (file)
@@ -307,7 +307,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("cksum - %s\n", PACKAGE_VERSION);
+      printf ("cksum (GNU %s) %s\n", PACKAGE, VERSION);
       exit (EXIT_SUCCESS);
     }
 
index 62ef1611ae520537aee86e60b7275bb89e4657e4..9bdc640bf4bc83501f6e7b5f38cb2e68fa8571df 100644 (file)
@@ -250,7 +250,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("comm - %s\n", PACKAGE_VERSION);
+      printf ("comm (GNU %s) %s\n", PACKAGE, VERSION);
       exit (EXIT_SUCCESS);
     }
 
index 5ba35f5707b37e20f0c815489070f6c76fc814e9..ea4c62a1658679b652b11facea927ada021aecd3 100644 (file)
@@ -1518,7 +1518,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("csplit - %s\n", PACKAGE_VERSION);
+      printf ("csplit (GNU %s) %s\n", PACKAGE, VERSION);
       exit (EXIT_SUCCESS);
     }
 
index 739ddd477f16c93ed06ea31d005da5c225fb1d82..c1e57ba42af038b78db11754dc6827b32736bf11 100644 (file)
--- a/src/cut.c
+++ b/src/cut.c
@@ -737,7 +737,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("cut - %s\n", PACKAGE_VERSION);
+      printf ("cut (GNU %s) %s\n", PACKAGE, VERSION);
       exit (EXIT_SUCCESS);
     }
 
index cea9b44f4db183ce35946c28d6abc4b275059c33..3b21d6426a3a13b41d203deff60492327eb6186f 100644 (file)
@@ -368,7 +368,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("expand - %s\n", PACKAGE_VERSION);
+      printf ("expand (GNU %s) %s\n", PACKAGE, VERSION);
       exit (EXIT_SUCCESS);
     }
 
index bc8be686486884f3672ac3a84e04311b62ee5320..bcc972d6452b9ea479a1779eff890f2506445fdc 100644 (file)
--- a/src/fmt.c
+++ b/src/fmt.c
@@ -398,7 +398,7 @@ main (register int argc, register char **argv)
 
   if (show_version)
     {
-      printf ("fmt - %s\n", PACKAGE_VERSION);
+      printf ("fmt (GNU %s) %s\n", PACKAGE, VERSION);
       exit (EXIT_SUCCESS);
     }
 
index f5ffb4dd7deeef913b34da16e5dd3906987fb2d9..6fcfd06957981d92619bee38efcc06ca66fddeb0 100644 (file)
@@ -310,7 +310,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("fold - %s\n", PACKAGE_VERSION);
+      printf ("fold (GNU %s) %s\n", PACKAGE, VERSION);
       exit (EXIT_SUCCESS);
     }
 
index ba6e31b77ba51784bcb40fb717c1004f8c49d34c..3bce5f7804f4deeccc200a089ebf4d8a8780fbf1 100644 (file)
@@ -353,7 +353,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("head - %s\n", PACKAGE_VERSION);
+      printf ("head (GNU %s) %s\n", PACKAGE, VERSION);
       exit (EXIT_SUCCESS);
     }
 
index 64ab5fbb7181ad0624a1f5dfc75c442992aa8d60..c234ebb490158a021e2bd17b6413a948d2880f85 100644 (file)
@@ -505,7 +505,7 @@ main (int argc, char **argv)
 
   if (do_version)
     {
-      printf ("md5sum - %s\n", PACKAGE_VERSION);
+      printf ("md5sum (GNU %s) %s\n", PACKAGE, VERSION);
       exit (EXIT_SUCCESS);
     }
 
index e564682772316c6e8e0bd8ad92a613e89aec6089..4a41c133ff89844c67610fe9c3dfe2794d1206d9 100644 (file)
--- a/src/nl.c
+++ b/src/nl.c
@@ -579,7 +579,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("nl - %s\n", PACKAGE_VERSION);
+      printf ("nl (GNU %s) %s\n", PACKAGE, VERSION);
       exit (EXIT_SUCCESS);
     }
 
index 3e5d0fa87dc31458137cfa0745be5ca902447985..6c490da1878b4b72cf6998a0bad654da0ccdfd70 100644 (file)
--- 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 - %s\n", PACKAGE_VERSION);
+      printf ("od (GNU %s) %s\n", PACKAGE, VERSION);
       exit (EXIT_SUCCESS);
     }
 
index c5b47e1a1174384efe497f42b5177d9610e44d98..7ae2437cab4c3df2d6136339c0e6ed27bbc69d61 100644 (file)
@@ -473,7 +473,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("paste - %s\n", PACKAGE_VERSION);
+      printf ("paste (GNU %s) %s\n", PACKAGE, VERSION);
       exit (EXIT_SUCCESS);
     }
 
index 02e20e14affe67e29d2640ef406bd58c95e7f849..45684ac241d42d3ad88020218b3c09336aa3dabc 100644 (file)
--- a/src/pr.c
+++ b/src/pr.c
@@ -616,7 +616,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("pr - %s\n", PACKAGE_VERSION);
+      printf ("pr (GNU %s) %s\n", PACKAGE, VERSION);
       exit (EXIT_SUCCESS);
     }
 
index fec78cfc3507818e950e60fb699e7cb107e3079e..6deebf21d04eff6eb070c93a034dafa89344c57f 100644 (file)
@@ -454,7 +454,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("split - %s\n", PACKAGE_VERSION);
+      printf ("split (GNU %s) %s\n", PACKAGE, VERSION);
       exit (EXIT_SUCCESS);
     }
 
index ddaabe0481b75de9693c63100fdd60be545eb0d3..d5777d08eb05856ca875cf9010f5b26e6c8fad22 100644 (file)
--- a/src/sum.c
+++ b/src/sum.c
@@ -235,7 +235,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("sum - %s\n", PACKAGE_VERSION);
+      printf ("sum (GNU %s) %s\n", PACKAGE, VERSION);
       exit (EXIT_SUCCESS);
     }
 
index 2b9ba48d43362f2598d3d3a9e342835f4b912748..8b7bceb3d9a2fe77a424bade16e80e258cbcd16c 100644 (file)
--- a/src/tac.c
+++ b/src/tac.c
@@ -622,7 +622,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("tac - %s\n", PACKAGE_VERSION);
+      printf ("tac (GNU %s) %s\n", PACKAGE, VERSION);
       exit (EXIT_SUCCESS);
     }
 
index 9bc600c20328f1224fd283b087d804d1140eee34..44f9a339ed4ef4e9334e34ee409ad1d1ddbddb47 100644 (file)
@@ -977,7 +977,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("tail - %s\n", PACKAGE_VERSION);
+      printf ("tail (GNU %s) %s\n", PACKAGE, VERSION);
       exit (EXIT_SUCCESS);
     }
 
index e0d420e2f510a412884a4d394947fa3c573947c7..181f2971ece64c96d5d932da1c82dd63d7b34c25 100644 (file)
--- a/src/tr.c
+++ b/src/tr.c
@@ -1848,7 +1848,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("tr - %s\n", PACKAGE_VERSION);
+      printf ("tr (GNU %s) %s\n", PACKAGE, VERSION);
       exit (EXIT_SUCCESS);
     }
 
index aeeb5ac8be5d11d42cdef8af0f5f787bfacfe70e..aa3b5a698446b18b6f39c4f7bbc4ef736ea0d358 100644 (file)
@@ -439,7 +439,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("unexpand - %s\n", PACKAGE_VERSION);
+      printf ("unexpand (GNU %s) %s\n", PACKAGE, VERSION);
       exit (EXIT_SUCCESS);
     }
 
index 9e99384c2ae07a0d4a02c97b1c20e9fd3ad50298..38d8759c05fd915e33fcd4817f4abdd0def65021 100644 (file)
@@ -384,7 +384,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("uniq - %s\n", PACKAGE_VERSION);
+      printf ("uniq (GNU %s) %s\n", PACKAGE, VERSION);
       exit (EXIT_SUCCESS);
     }
 
index 8834b2a5338eb4f3d2933356de8a84dd8477be5f..4bd20b42a1c19a2953cf4eeb37439f308a414231 100644 (file)
--- a/src/wc.c
+++ b/src/wc.c
@@ -293,7 +293,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("wc - %s\n", PACKAGE_VERSION);
+      printf ("wc (GNU %s) %s\n", PACKAGE, VERSION);
       exit (EXIT_SUCCESS);
     }