summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-10-04 04:15:08 +0000
committerJim Meyering <jim@meyering.net>1996-10-04 04:15:08 +0000
commit3361bd2bca857df4e502280400aa88a7cebda588 (patch)
treee0cc379ca2f25f07ac9c1407fa62db674fe8f655
parent1c6698b17da173119b57c0faed1f175896020241 (diff)
downloadcoreutils-3361bd2bca857df4e502280400aa88a7cebda588.tar.xz
(main): update --version output to conform to coding standard
-rw-r--r--src/cat.c2
-rw-r--r--src/cksum.c2
-rw-r--r--src/comm.c2
-rw-r--r--src/csplit.c2
-rw-r--r--src/cut.c2
-rw-r--r--src/expand.c2
-rw-r--r--src/fmt.c2
-rw-r--r--src/fold.c2
-rw-r--r--src/head.c2
-rw-r--r--src/md5sum.c2
-rw-r--r--src/nl.c2
-rw-r--r--src/od.c2
-rw-r--r--src/paste.c2
-rw-r--r--src/pr.c2
-rw-r--r--src/split.c2
-rw-r--r--src/sum.c2
-rw-r--r--src/tac.c2
-rw-r--r--src/tail.c2
-rw-r--r--src/tr.c2
-rw-r--r--src/unexpand.c2
-rw-r--r--src/uniq.c2
-rw-r--r--src/wc.c2
22 files changed, 22 insertions, 22 deletions
diff --git a/src/cat.c b/src/cat.c
index bfd7f6e03..ea0fa6559 100644
--- 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);
}
diff --git a/src/cksum.c b/src/cksum.c
index b7100564d..0b823c33c 100644
--- a/src/cksum.c
+++ b/src/cksum.c
@@ -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);
}
diff --git a/src/comm.c b/src/comm.c
index 62ef1611a..9bdc640bf 100644
--- a/src/comm.c
+++ b/src/comm.c
@@ -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);
}
diff --git a/src/csplit.c b/src/csplit.c
index 5ba35f570..ea4c62a16 100644
--- a/src/csplit.c
+++ b/src/csplit.c
@@ -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);
}
diff --git a/src/cut.c b/src/cut.c
index 739ddd477..c1e57ba42 100644
--- 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);
}
diff --git a/src/expand.c b/src/expand.c
index cea9b44f4..3b21d6426 100644
--- a/src/expand.c
+++ b/src/expand.c
@@ -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);
}
diff --git a/src/fmt.c b/src/fmt.c
index bc8be6864..bcc972d64 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 - %s\n", PACKAGE_VERSION);
+ printf ("fmt (GNU %s) %s\n", PACKAGE, VERSION);
exit (EXIT_SUCCESS);
}
diff --git a/src/fold.c b/src/fold.c
index f5ffb4dd7..6fcfd0695 100644
--- a/src/fold.c
+++ b/src/fold.c
@@ -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);
}
diff --git a/src/head.c b/src/head.c
index ba6e31b77..3bce5f780 100644
--- a/src/head.c
+++ b/src/head.c
@@ -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);
}
diff --git a/src/md5sum.c b/src/md5sum.c
index 64ab5fbb7..c234ebb49 100644
--- a/src/md5sum.c
+++ b/src/md5sum.c
@@ -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);
}
diff --git a/src/nl.c b/src/nl.c
index e56468277..4a41c133f 100644
--- 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);
}
diff --git a/src/od.c b/src/od.c
index 3e5d0fa87..6c490da18 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 - %s\n", PACKAGE_VERSION);
+ printf ("od (GNU %s) %s\n", PACKAGE, VERSION);
exit (EXIT_SUCCESS);
}
diff --git a/src/paste.c b/src/paste.c
index c5b47e1a1..7ae2437ca 100644
--- a/src/paste.c
+++ b/src/paste.c
@@ -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);
}
diff --git a/src/pr.c b/src/pr.c
index 02e20e14a..45684ac24 100644
--- 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);
}
diff --git a/src/split.c b/src/split.c
index fec78cfc3..6deebf21d 100644
--- a/src/split.c
+++ b/src/split.c
@@ -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);
}
diff --git a/src/sum.c b/src/sum.c
index ddaabe048..d5777d08e 100644
--- 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);
}
diff --git a/src/tac.c b/src/tac.c
index 2b9ba48d4..8b7bceb3d 100644
--- 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);
}
diff --git a/src/tail.c b/src/tail.c
index 9bc600c20..44f9a339e 100644
--- a/src/tail.c
+++ b/src/tail.c
@@ -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);
}
diff --git a/src/tr.c b/src/tr.c
index e0d420e2f..181f2971e 100644
--- 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);
}
diff --git a/src/unexpand.c b/src/unexpand.c
index aeeb5ac8b..aa3b5a698 100644
--- a/src/unexpand.c
+++ b/src/unexpand.c
@@ -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);
}
diff --git a/src/uniq.c b/src/uniq.c
index 9e99384c2..38d8759c0 100644
--- a/src/uniq.c
+++ b/src/uniq.c
@@ -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);
}
diff --git a/src/wc.c b/src/wc.c
index 8834b2a53..4bd20b42a 100644
--- 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);
}