summaryrefslogtreecommitdiff
path: root/old/sh-utils
diff options
context:
space:
mode:
Diffstat (limited to 'old/sh-utils')
-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.