summaryrefslogtreecommitdiff
path: root/old/sh-utils/NEWS
blob: 83d0482f53d83b55d8c4b39df5b018f301f7c049 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
 [2.0.15]
* date no longer accepts e.g., September 31 in the MMDDhhmm syntax
* fix a bug in this package's .m4 files and in configure.ac
 [2.0.14]
* nohup's behavior is changed as follows, to conform to POSIX 1003.1-2001:
  - nohup no longer adjusts scheduling priority; use "nice" for that.
  - nohup now redirects stderr to stdout, if stderr is not a terminal.
  - nohup exit status is now 126 if command was found but not invoked,
    127 if nohup failed or if command was not found.
 [2.0.13]
* uname and uptime work better on *BSD systems
* pathchk now exits nonzero for a path with a directory component
    that specifies a non-directory
 [2.0.12]
* kill: new program
* who accepts new options: --all (-a), --boot (-b), --dead (-d), --login,
   --process (-p), --runlevel (-r), --short (-s), --time (-t), --users (-u).
   The -u option now produces POSIX-specified results and is the same as
   the long option `--users'.  --idle is no longer the same as -u.
* The following changes apply on systems conforming to POSIX 1003.1-2001,
  and are required by the new POSIX standard:
   - `date -I' is no longer supported.  Instead, use `date --iso-8601'.
   - `nice -NUM' is no longer supported.  Instead, use `nice -n NUM'.
* New 'uname' options -i or --hardware-platform, and -o or --operating-system.
   'uname -a' now outputs -i and -o information at the end.
   New uname option --kernel-version is an alias for -v.
   Uname option --release has been renamed to --kernel-release,
   and --sysname has been renamed to --kernel-name;
   the old options will work for a while, but are no longer documented.
* 'expr' now uses the LC_COLLATE locale for string comparison, as per POSIX.
* 'expr' now requires '+' rather than 'quote' to quote tokens;
    this removes an incompatibility with POSIX.
* date -d 'last friday' would print a date/time that was one hour off
    (e.g., 23:00 on *thursday* rather than 00:00 of the preceding friday)
    when run such that the current time and the target date/time fall on
    opposite sides of a daylight savings time transition.
    This problem arose only with relative date strings like `last monday'.
    It was not a problem with strings that include absolute dates.
* factor is twice as fast, for large numbers
 [2.0.11]
* setting the date now works properly, even when using -u
* `date -f - < /dev/null' no longer dumps core
* some DOS/Windows portability changes
 [2.0j]
* `date -d DATE' now parses certain relative DATEs correctly
 [2.0i]
* fixed a bug introduced in 2.0h that made many programs fail with a
 `write error' when invoked with the --version option
 [2.0h]
* all programs fail when printing --help or --version output to a full device
* printf exits nonzero upon write failure
* yes now detects and terminates upon write failure
* date --rfc-822 now always emits day and month names from the `C' locale
* portability tweaks for Solaris8, Ultrix, and DOS
 [2.0g]
* date now handles two-digit years with leading zeros correctly.
* printf interprets unicode, \uNNNN \UNNNNNNNN, on systems with the
  required support;  from Bruno Haible.
* stty's rprnt attribute now works on HPUX 10.20
* seq's --equal-width option works more portably
 [2.0f]
* fix build problems with ut_name vs. ut_user
 [2.0e]
* stty: fix long-standing bug that caused test failures on at least HPUX
  systems when COLUMNS was set to zero
* still more portability fixes
* unified lib/: now that directory and most of the configuration framework
  is common between fileutils, textutils, and sh-utils
 [2.0d]
* fix portability problem with sleep vs lib/strtod.c's requirement for -lm
 [2.0c]
* fix portability problems with nanosleep.c and with the new code in sleep.c
 [2.0b]
* Regenerate lib/Makefile.in so that nanosleep.c is distributed.
 [2.0a]
* sleep accepts floating point arguments on command line
* sleep's clock continues counting down when sleep is suspended
* when a suspended sleep process is resumed, it continues sleeping if
  there is any time remaining
* who once again prints whatever host information it has, even without --lookup
Changes in release 2.0
* disable stty tests (otherwise they fail) when `make check' is run via rsh
 [1.16m]
* false and true now ignore --help and --version when POSIXLY_CORRECT is set
 [1.16l]
* false and true are now C programs rather than shell scripts
 [1.16k]
* fix typos in my version of AC_SEARCH_LIBS.
* fix dates on config files so builders don't need autoconf/automake
 [1.16j]
* work around problems with my use of AC_SEARCH_LIBS
* fix a bug in id
 [1.16i]
* portability tweaks for lib/readutmp.[ch] and src/date.c
 [1.16h]
* seq with no arguments now elicits a useful diagnostic rather than a segfault
* portability tweaks to work around utmpname differences
* who works on Solaris
 [1.16g]
* factor now uses uintmax_t, so the largest number it can factor is now 2^64 - 1
  on systems with type `long long'.
* nohup no longer modifies the shell's search path
* `basename /' now prints `/', per the single unix spec
* `who --lookup' no longer erroneously reports `localhost' for IP addresses
  for which it could not do a reverse lookup.
* `id user' wouldn't report a group id in some situations.  Now it always does.
 [1.16f]
* chroot now calls chdir ("/") after chroot.
* `date -s' now exits with nonzero status upon failure
* new autoconf tests detect bugs in vendor mktime from Irix-6.4 and SunOS4.1.4
  Your executables will be a little larger on such systems because you'll use
  GNU's mktime function, but date will work more reliably.
* hostid: new program
* `yes --help' and `yes --version' print those strings when the POSIXLY_CORRECT
  environment variable is set
* who no longer does DNS lookups by default -- the new option, --lookup (-l),
  enables lookups
 [1.16e]
* pinky: new lightweight finger-style program
 [1.16d]
* the groups script now exits non-zero and doesn't print anything more
  when `id' fails
 [1.16c]
* date -u -d DATE now prints the correct date
* don't remove already-installed su unless it is possible to install the
  new one setuid root.
 [1.16b]
 [1.16a]
* expr accepts new unary operator, quote.
* expr now returns 0 for failed matches where pattern contained e.g., `\\('
* date -d DATE now works on Unicos systems
* add tests for factor and more for date.
* factor runs a lot faster for large 64-bit inputs
* date works with relative offsets involving the `next' keyword

Changes in release 1.16
* stty -tabs works properly
* add tests for date
* date --date "02/29/1996 - 1 year" now works properly

Changes in release 1.15
* nice works with very recently-changed GNU libc getopt
* fix several bugs in m4 macros used to create `configure' script
* id works on systems with disfunctional getgroups function
* uptime configure test detects /proc/uptime on Linux

Changes in release 1.14
* fix bug in getdate.y that broke date's --date=DATE option on systems
  like SunOS4.
* expr treats unadorned ? and + as literals.  To make expr treat them as
  operators you have to use \? and \+.

Changes in release 1.13
* two patches for ISC
* Regenerate all Makefile.in using a patched version of automake-1.1l.
 [1.12s]
* lots of little bug fixes -- see ChangeLog
 [1.12r]
* uname --processor (-p) works on systems that have sysinfo and define
  SI_ARCHITECTURE.
* stty works better on systems like i386-pc-isc3.0
* date --date=DATE accepts dates like those in an RCS log listing, e.g.,
  `1992/11/01 05:44:34'.
* printf now warns if excess arguments are ignored.
* tee no longer fails immediately upon receipt of SIGPIPE
 [1.12q]
* running `make check' runs tests of nice
* lots of configuration-related improvements
* nice allows `+' in options like -+8 and -+13.
* when matching, expr warns about non-portability when the first character
  of the basic regular expression is `^'
* `id user' no longer prints bogus group list
* uses automake-generated Makefile templates
* date accepts new %V format
* date's %U and %W formats work properly
* nice option handling works with 2-digit old-style-option adjustments.
  Now, `nice -18 -- nice' prints `18'.  Before it printed `8'.
* internationalized diagnostic messages
* `date -d "01/01/1998 3 years" +%Y' now works properly.  It prints 2001.
* New programs: chroot, factor, seq, uptime.
* date accepts new option: --rfc-822 (-R)
* date accepts new format, %z, for RFC-822 style numeric timezone (-0500)
* date: fix bugs in the handling of date -u +'%s %Z'.
* date accepts new option --reference=FILE (-r FILE) analogous to the
  like-named touch option.
* date can now format dates up to and including ones in the year 2037
User visible changes in release 1.12
* None.
User visible changes in release 1.11
* date accepts new option: (-f) --file=DATEFILE
* skeletal texinfo documentation (mainly just the `invoking' nodes)
* `stty werase ^W' works.  Before, werase wasn't enabled for AIX-3.2.5.
* su with no arguments works properly
* nice accepts options like `--5' (this is interpreted like `-n -5')
* nice now interprets `-1 -1' like `-1' not like `-11'
* `stty speed' and `stty size' no longer output a spurious newline
User visible changes in release 1.10
* change package name from shellutils to sh-utils
* add hostname, pwd, and users commands
* --version outputs the name of the utility as well as the package name
  and version number.
* Configure properly determines options for stty on SCO ODT 3.0 systems.
* `date -d' works better.  Before, `date -d '4apr94'' produced
  `Sun Apr  3 23:00:00 CDT 1994'.
User visible changes in release 1.9.4
* Repair stty option handling.
User visible changes in release 1.9.3
* `stty -a -g' gets a diagnostic
* `stty {-a|-g} any-other-argument' gets a diagnostic
* stty no longer ignores some of its arguments
* basename and dirname no longer treat `--' specially
* `basename -- file.c .c' generates a usage error.  Before, it output `file'.
* `basename file-dist -dist' outputs `file'.  Before it output `file-dist'.
* stty defaults `swtch' to undefined for Solaris so `susp' (^Z) will work.
  Before, with the default settings ^Z did nothing.
* stty no longer gives an error message when it finds a spurious difference
  (due to buggy tcgetattr/tcsetattr) between requested and current tty
  modes under SunOS 4.1.x.
* stty no longer fails if the ioctl to determine the display width fails
  when displaying settings.
* stty works around SunOS 4.x kernel bug that made `stty rows 0 cols 0' fail.
* who and tee no longer fail gratuitously when continued after an
  interrupted read or write system call.
* date accepts new format: %s time in seconds since 1970-01-01 00:00:00 UCT
* date -d can parse dates like `11-JUL-1991'
* expr '' == 0 works (before, it printed 1)
* stty no longer fails on telnet sessions to Solaris systems
* `cd /etc; who utmp' now works.  Before, any filename argument had to be
  absolute or relative to /dev.

User visible changes in release 1.9.2:
* who output is better formatted on Solaris and other SysVr4 systems
* fix a minor problem in formatting the output from `stty -a'
* yes with arguments outputs newlines again
* partial stty failures are reported

Major changes in release 1.9.1:
* stty can be built on Suns again
* minor fix for who -q

Major changes in release 1.9:
* su fails gracefully when getpass is unable to open /dev/tty.
* printenv and tty detect and report write errors
* fix bug in stty
* stty accepts the new options status and flush on systems that provide them
* `expr 1 / 0' gives an error message rather than trying to divide by zero
* expr's `substr' doesn't overrun malloc'd buffer
* expr recognizes the string `0' as zero
* better support for Linux, Dec Alpha, and SGI Irix
* all programs (even true and false) accept --version and --help options
* uname's --version option is no longer equivalent to its -v option
* configure uses config.h, so DEFS won't exceed preprocessor limits of
  some compilers on the number of symbols defined via -D.
* work around problem where $(srcdir)/config.h was used instead of
  ../config.h -- this happened only when building in a subdirectory
  and when config.h remained in $(srcdir) from a previous ./configure.
* make may be run from the subdirectories

Major changes in release 1.8:
* add echo command
* fix some incorrect warnings in pathchk
* look at the right utmp file on 386BSD
* date doesn't dump core on some systems now

Major changes in release 1.7:
* add su, who, true, false commands
* add more tests to expr
* fix printf program handling of \ escapes
* printf can re-use format string for multiple groups of arguments
* printf catches numeric conversion errors with an ANSI C library
* stty nl and -nl were backwards
* date can format an arbitrary date without setting it

========================================================================

Copyright (C) 1992-2017 Free Software Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with no
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
Texts.  A copy of the license is included in the ``GNU Free
Documentation License'' file as part of this distribution.