summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-04-05 16:08:32 +0000
committerJim Meyering <jim@meyering.net>1996-04-05 16:08:32 +0000
commitcca1377d965dc0206e501233fe69b837b4d5cdbc (patch)
treea92aac1394fc21598873ac357afd75c65de64a8d
parent8024d6459c0aa3e18e87c9619b094e839013bf52 (diff)
downloadcoreutils-cca1377d965dc0206e501233fe69b837b4d5cdbc.tar.xz
.
-rw-r--r--old/sh-utils/ChangeLog4
-rw-r--r--old/sh-utils/NEWS2
2 files changed, 4 insertions, 2 deletions
diff --git a/old/sh-utils/ChangeLog b/old/sh-utils/ChangeLog
index 6175a5cb3..69ec4a69c 100644
--- a/old/sh-utils/ChangeLog
+++ b/old/sh-utils/ChangeLog
@@ -1,7 +1,7 @@
Fri Apr 5 07:33:00 1996 Jim Meyering (meyering@na-net.ornl.gov)
- * nice.c (main): Fix option handling. Before, FIXME.........
- Patch from Frank Korz.
+ * nice.c (main): Simplify option handling. Before, `nice -18 -- nice'
+ improperly printed `8'. Patch from Frank Korz.
(main): Use `if' stmt, not while loop, around getopt invocation.
Otherwise, `./nice --a=1 -1 ./nice' (in which old-style option
follows a long option) gets an error.
diff --git a/old/sh-utils/NEWS b/old/sh-utils/NEWS
index 1693b03be..532b4caa2 100644
--- a/old/sh-utils/NEWS
+++ b/old/sh-utils/NEWS
@@ -1,4 +1,6 @@
User visible changes in release 1.13
+* nice option handling works with 2-digit old-style-option adjustments.
+ Now, `nice -18 -- nice' now prints `18'. Before it printed `8'.
* New program: chroot.
* internationalized diagnostic messages (so far, only french translations)
* `date -d "01/01/1998 3 years" +%Y' now works properly. It prints 2001.