maint: update all copyright year number ranges
[platform/upstream/coreutils.git] / old / fileutils / NEWS
1 [4.1.11]
2 * `rm symlink-to-unwritable' doesn't prompt [introduced in 4.1.10]
3 [4.1.10]
4 * rm once again gives a reasonable diagnostic when failing to remove a file
5     owned by someone else in a sticky directory [introduced in 4.1.9]
6 * df now rounds all quantities up, as per POSIX.
7 * New ls time style: long-iso, which generates YYYY-MM-DD HH:MM.
8 * Any time style can be preceded by "posix-"; this causes "ls" to
9   use traditional timestamp format when in the POSIX locale.
10 * The default time style is now posix-long-iso instead of posix-iso.
11   Set TIME_STYLE="posix-iso" to revert to the behavior of 4.1.1 through 4.1.9.
12 * `rm dangling-symlink' doesn't prompt [introduced in 4.1.9]
13 * stat: remove support for --secure/-s option and related %S and %C format specs
14 * stat: rename --link/-l to --dereference/-L.
15     The old options will continue to work for a while.
16 [4.1.9]
17 * rm can now remove very deep hierarchies, in spite of any limit on stack size
18 * new programs: link, unlink, and stat
19 * New ls option: --author (for the Hurd).
20 * `touch -c no-such-file' no longer fails, per POSIX
21 [4.1.8]
22 * mv no longer mistakenly creates links to preexisting destination files
23     that aren't moved
24 [4.1.7]
25 * rm: close a hole that would allow a running rm process to be subverted
26 [4.1.6]
27 * New cp option: --copy-contents.
28 * cp -r is now equivalent to cp -R.  Use cp -R -L --copy-contents to get the
29   traditional (and rarely desirable) cp -r behavior.
30 * ls now accepts --time-style=+FORMAT, where +FORMAT works like date's format
31 * The obsolete usage `touch [-acm] MMDDhhmm[YY] FILE...' is no longer
32   supported on systems conforming to POSIX 1003.1-2001.  Use touch -t instead.
33 * cp and inter-partition mv no longer give a misleading diagnostic in some
34     unusual cases
35 [4.1.5]
36 * cp -r no longer preserves symlinks
37 * The block size notation is now compatible with SI and with IEC 60027-2.
38   For example, --block-size=1MB now means --block-size=1000000,
39   whereas --block-size=1MiB now means --block-size=1048576.
40   A missing `B' (e.g. `1M') has the same meaning as before.
41   A trailing `B' now means decimal, not binary; this is a silent change.
42   The nonstandard `D' suffix (e.g. `1MD') is now obsolescent.
43 * -H or --si now outputs the trailing 'B', for consistency with the above.
44 * Programs now output trailing 'K' (not 'k') to mean 1024, as per IEC 60027-2.
45 * New df, du short option -B is short for --block-size.
46 * You can omit an integer `1' before a block size suffix,
47   e.g. `df -BG' is equivalent to `df -B 1G' and to `df --block-size=1G'.
48 * The following options are now obsolescent, as their names are
49   incompatible with IEC 60027-2:
50    df, du: -m or --megabytes (use -BM or --block-size=1M)
51    df, du, ls: --kilobytes (use --block-size=1K)
52 [4.1.4]
53 * df --local no longer lists smbfs file systems whose name starts with //
54 * dd now detects the Linux/tape/lseek bug at run time and warns about it.
55 [4.1.3]
56 * ls -R once again outputs a blank line between per-directory groups of files.
57     This was broken by the cycle-detection change in 4.1.1.
58 * dd once again uses `lseek' on character devices like /dev/mem and /dev/kmem.
59     On systems with the linux kernel (at least up to 2.4.16), dd must still
60     resort to emulating `skip=N' behavior using reads on tape devices, because
61     lseek has no effect, yet appears to succeed.  This may be a kernel bug.
62 [4.1.2]
63 * cp no longer fails when two or more source files are the same;
64     now it just gives a warning and doesn't copy the file the second time.
65     E.g., cp a a d/ produces this:
66     cp: warning: source file `a' specified more than once
67 * chmod would set the wrong bit when given symbolic mode strings like
68     these: g=o, o=g, o=u.  E.g., `chmod a=,o=w,ug=o f' would give a mode
69     of --w-r---w- rather than --w--w--w-.
70 [4.1.1]
71 * mv (likewise for cp), now fails rather than silently clobbering one of
72     the source files in the following example:
73     rm -rf a b c; mkdir a b c; touch a/f b/f; mv a/f b/f c
74 * ls -R detects directory cycles, per POSIX.  It warns and doesn't infloop.
75 * cp's -P option now means the same as --no-dereference, per POSIX.
76     Use --parents to get the old meaning.
77 * When copying with the -H and -L options, cp can preserve logical
78     links between source files with --preserve=links
79 * cp accepts new options:
80     --preserve[={mode,ownership,timestamps,links,all}]
81     --no-preserve={mode,ownership,timestamps,links,all}
82 * cp's -p and --preserve options remain unchanged and are equivalent
83     to `--preserve=mode,ownership,timestamps'
84 * mv and cp accept a new option: --reply={yes,no,query};  provides a consistent
85     mechanism to control whether one is prompted about certain existing
86     destination files.  Note that cp's and mv's -f options don't have the
87     same meaning: cp's -f option no longer merely turns off `-i'.
88 * remove portability limitations (e.g., PATH_MAX on the Hurd, fixes for
89     64-bit systems)
90 * mv now prompts before overwriting an existing, unwritable destination file
91     when stdin is a tty, unless --force (-f) is specified, as per POSIX.
92 * mv: fix the bug whereby `mv -uf source dest' would delete source,
93     even though it's older than dest.
94 * chown's --from=CURRENT_OWNER:CURRENT_GROUP option now works
95 * cp now ensures that the set-user-ID and set-group-ID bits are cleared for
96     the destination file when when copying and not preserving permissions.
97 * `ln -f --backup k k' gives a clearer diagnostic
98 * ls no longer truncates user names or group names that are longer
99     than 8 characters.
100 * ls's new --dereference-command-line option causes it to dereference
101   symbolic links on the command-line only.  It is the default unless
102   one of the -d, -F, or -l options are given.
103 * ls -H now means the same as ls --dereference-command-line, as per POSIX.
104 * ls -g now acts like ls -l, except it does not display owner, as per POSIX.
105 * ls -n now implies -l, as per POSIX.
106 * ls can now display dates and times in one of four time styles:
107
108   - The `full-iso' time style gives full ISO-style time stamps like
109     `2001-05-14 23:45:56.477817180 -0700'.
110   - The 'iso' time style gives ISO-style time stamps like '2001-05-14 '
111     and '05-14 23:45'.
112   - The 'locale' time style gives locale-dependent time stamps like
113     'touko  14  2001' and 'touko  14 23:45' (in a Finnish locale).
114   - The 'posix-iso' time style gives traditional POSIX-locale
115     time stamps like 'May 14  2001' and 'May 14 23:45' unless the user
116     specifies a non-POSIX locale, in which case it uses ISO-style dates.
117     This is the default.
118
119   You can specify a time style with an option like --time-style='iso'
120   or with an environment variable like TIME_STYLE='iso'.  GNU Emacs 21
121   and later can parse ISO dates, but older Emacs versions cannot, so
122   if you are using an older version of Emacs outside the default POSIX
123   locale, you may need to set TIME_STYLE="locale".
124
125 * --full-time is now an alias for "-l --time-style=full-iso".
126
127 Changes in release 4.1:
128 [4.0.45]
129 * dd conv=sync,block now pads only with spaces
130 * ls's -1 option no longer cancels the effect of a preceding -l
131 * regenerate configure using a patched version of autoconf-2.49e to work
132     around a bug in its test for a working memcmp function
133 * ls: fix off-by-one error introduced with the previous change
134 [4.0.44]
135 * ls: When given two or more arguments but the only one that exists is a
136     directory, don't treat it as if it were the only argument.  Before,
137     `mkdir d; ls no-dir d 2>/dev/null' would act like `ls d' and produce
138     no output.  Now, it prints `d:'.
139 * touch -d 'last friday' would use a time stamp that was one hour off
140     (e.g., 23:00 on *thursday* rather than 00:00 of the preceding friday)
141     when run such that the current time and the target date/time fall on
142     opposite sides of a daylight savings time transition.
143     This problem arises only with relative date strings like `last monday'.
144     It is not a problem with strings that include absolute dates.
145 [4.0.43]
146 * regenerate configure-related files using autoconf-2.49d
147 [4.0.42]
148 * Using ls's short-named `-H' option evokes the warning that the
149    meaning of `-H' will soon change.  Use `--si' instead.
150 [4.0.41]
151 * fix bug in rm introduced in 4.0.38: `chmod 0 f; rm f' would no longer prompt
152     before removal.
153 [4.0.40]
154 * portability fixes, mainly for UnixWare 7.1.1
155 [4.0.39]
156 * cp and mv accept --strip-trailing-slashes, not just --strip-trailing-slash
157 [4.0.38]
158 * ls --full-time now implies -l;  before, without -l it was a no-op
159 [4.0.37]
160 * portability fixes for SunOS4.1.1, Fujitsu (f300-fujitsu-uxpv4.1_ES),
161     and Unicos (alphaev5-cray-unicosmk2.0.5.X)
162 [4.0.36]
163 * `mv dir/ new-name' no longer fails on SunOS4.1.1U
164 * attempting to use mv to move a symlink onto itself no longer removes
165     the symlink
166 * `cp -R directory file' no longer removes `file'.  now it fails and gives
167     a diagnostic
168 * The manual now warns that ls's --full-time format string is planned
169     to change in a future release.
170 * ls -l's time stamp format now depends on LC_TIME, not LC_MESSAGES,
171     as POSIX requires.
172 * ls -l now reports the year for files even slightly in the future, as
173     POSIX requires.  This helps warn users about clock skew problems.
174 * `cp -d file symlink-to-some-other-file' no longer fails
175 * performance improvements for ls
176 [4.0.35]
177 * ln --backup=simple --suffix=SUFFIX once again uses SUFFIX
178 * install: Likewise.
179 [4.0.34]
180 * fix a bug (introduced in 4.0z) that made `chown 123:456 file' act like
181     `chown 123:123 file'.  Other uses with a numeric group ID would cause
182     chown to fail when it shouldn't have.
183 * the chown and chgrp programs preserve set-uid and set-gid bits, even on
184     systems for which the chown function call resets those bits.
185 * `ls -L dangling-symlink' now fails (per POSIX) rather than printing the
186     link name
187 * dd no longer honors the just-added `B' suffix on skip= and seek= arguments.
188 * `mkdir no-such-dir/' no longer fails on NetBSD systems
189 [4.0.33]
190 * dd now accepts skip=nB and seek=nB, to advance past some number of bytes, n,
191     that need not be a multiple of the block size.
192 * dd (without conv=notrunc) now complains only when ftruncate fails on a
193     regular file, a directory, or a shared memory object -- not when it fails
194     to truncate other types of files, like /dev/fd0.
195 * chmod --changes (-c) once again issues diagnostics only for the files
196     with changed permissions
197 * mkdir now gives one diagnostic (rather than two) for certain failures
198 * mkdir portability fix for NetBSD
199 [4.0.32]
200 * touch now interprets a lone numeric argument of 8 or 10 digits as a file name,
201   rather than as a date/time in the obsolescent `MMDDhhmm[YY]' format.
202 * mkdir no longer sets the permissions of the final directory component
203   if it already exists (this bug, too, was introduced recently)
204 * ls's --full-time format string is now locale dependent
205 [4.0.31]
206 * mkdir: fix a bug introduced in 4.0.30 whereby `mkdir existing-dir' would
207   succeed.  Now it fails, as it should (and used to).
208 [4.0.30]
209 * mkdir: fix a bug introduced in 4.0.28 whereby parent directories created
210   via `mkdir -p' would have permissions that did not account for the umask
211 [4.0.29]
212 * ls.c wouldn't compile on some systems: fix it
213 * `cp -R --parents dir1/ dir2' failed on NetBSD, due to a portability problem
214 [4.0.28]
215 * ls is much more efficient on systems (e.g., linux-2.4.*) that store file
216     type information in directory entries.
217 * shred now automatically determines the size of each block device argument
218 * ls's date/time format strings are now locale dependent
219 * mkdir, mknod, mkfifo, and chmod work better in conjunction with ACLs
220 * `cp --parents dir1/ dir2' no longer gets a failed assertion
221 * shred now determines the size of block devices like /dev/fd0
222 * `shred --exact file1 file2' now erases `file1', too
223 [4.0.27]
224 * install once again unlinks an existing destination before trying to open it
225 * mv no longer gets a failed assertion when moving a directory (specified with
226     a trailing slash) from one partition to another, and giving it a different
227     name at the destination.
228 * `cp --link -f src existing-dest' no longer fails (bug introduced in 4.0z)
229 * cp's new --remove-destination option now works with -R
230 [4.0z]
231 * `cp -p' once again preserves `special' permission bits (this bug was
232     introduced in 4.0y)
233 * mv's --force (-f) option now controls solely whether mv prompts (per POSIX)
234 * `cp -f' now first attempts to open an existing destination file, and only
235     if that fails does it resort to unlinking the file and retrying the open.
236     Before, it would unlink the file before trying to open it.
237 * cp accepts a new option, --remove-destination, that provides the old behavior
238 * cp's -f option no longer cancels the effect of --interactive (-i) (per POSIX)
239 * when ls sorts directory entries, it now honors the current locale settings
240 * dd's `skip=BLOCKS' operator once again works on systems with a buggy lseek
241   function (Linux, at least on SCSI tape devices)
242 * fix a typo in install-sh
243 [4.0y]
244 * cp now accepts the POSIX-mandated -H and -L options.
245 * cp -p and mv now try to preserve uid even if you're not root, as per POSIX.2.
246   This affects behavior only on hosts that let you give files away via chmod.
247 * du would fail when given `.' or `..' followed by other command line arguments
248 * Using cp's short-named `-P' option evokes the warning that the
249    meaning of `-P' will soon change.  Use `--parents' instead.
250 * chgrp, chmod, and chown: when used with the --verbose option, might give an
251   invalid diagnostic (due to clobbered errno) when failing.
252 [4.0x]
253 * Fix cp so that `cp -r DIR1/ DIR2' works properly once again.
254 * New ls option --quoting-style=clocale acts like --quoting-style=locale,
255   except that it quotes "like this" by default instead of `like this'.
256 [4.0w]
257 * When `cp -pR' fails to copy a file, it now preserves permissions, owner,
258    and group of the containing directory.
259 [4.0v]
260 * df, du, and ls now round disk usage up and disk free space down
261 * df, du, ls: --block-size=N now works for values of N that are e.g.,
262     not a multiple of the file's block size
263 [4.0u]
264 * give proper diagnostic for mv usage error
265 * fix compile problem with lib/strnlen.c
266 [4.0t]
267 * `cp -d -u' no longer fails with certain existing destination symlinks
268 * rmdir and mkdir accept -v as synonym for --verbose
269 [4.0s]
270 * rm no longer segfaults on certain very deep hierarchies
271 * IMPORTANT SECURITY FIX: a running `rm -r' may no longer be subverted to
272   remove unintended directories
273 * cp can now remove unwritable files in interactive mode; contrary to how mv
274    works, cp's --interactive (-i) option does *not* cancel the effect of a
275    preceding --force (-f) option.
276 * all programs fail when printing --help or --version output to a full device
277 * install no longer performs chmod if chown fails (see ChangeLog for example)
278 [4.0r]
279 * `du dir/subdir1 dir/subdir2' no longer fails
280 * chown accepts new option: --from=CURRENT_OWNER:CURRENT_GROUP
281 * cp accepts new option: --strip-trailing-slashes
282 * install --directory (-d) may now be used to set special bits
283     e.g., `install -m a=rwx,o+t -d DIR' now honors the `o+t' part
284 * cp, mv, ln, install: document that while the --backup option takes an
285   optional argument, the -b option accepts none
286 * `ls -e' fails with a more useful diagnostic
287 * df produces better output for loop file system mount points
288 [4.0q]
289 * install -D bug is fixed
290 * chown now works properly when the specified login name contains a period
291   This is at the expense of always looking up the entire USER.GROUP string
292   as a login name first, and only then (upon failure) interpreting the `.'
293   as a separator and looking up `USER'.  To avoid the extra getpwnam call,
294   always use the POSIX-mandated `:' character as the separator.
295 * `du some-other-dir' no longer fails if it can't open the current directory
296 * `mv DIR EXISTING-FILE' no longer removes EXISTING-FILE.  Now it gets an error
297   as POSIX says it must.
298 * touch no longer hangs on fifos
299 [4.0p]
300 * various tools: quote multibyte characters correctly in diagnostics
301 * mv: portability fix for alpha
302 * dd: portability fix
303 * unified lib/: now that directory and most of the configuration framework
304   is common between fileutils, textutils, and sh-utils
305 [4.0o]
306 * Include lib/nanosleep.h.
307 [4.0n]
308 * cp, install, ln, and mv: when making backup files in verbose mode, these
309   commands now print the backup file name on the same line as the rest of the
310   information, e.g., `a -> b (backup: b.~13~)' rather than on a separate line
311   as all but ln used to do.  ln didn't output the backup file name at all.
312 [4.0m]
313 * mv accepts new option: --strip-trailing-slashes (soon, many other
314   programs will, too)
315 * df no longer hangs when there is an inaccessible mount point unrelated to PATH
316 * rmdir --verbose no longer prints extra, bogus diagnosic upon failure
317 * fix df bug that made it print bogus values in the `Use%' column.
318 * touch -d once again parses dates with `hh:mm ZONE' time zone info.
319 [4.0l]
320 * ls -l honors a trailing slash on a symlink argument, per POSIX.
321 * shred no longer appears to infloop when asked to remove files in
322   unwritable directories
323 * `ls -ul' and `ls -uc' sort by name once again, as they should
324 [4.0k]
325 * mv may now be used to move a file onto a symlink to itself when that
326   symlink is on a separate partition.  With fileutils-4.0j, it would
327   fail with a diagnostic saying they were the same file.
328 * touch would fail with the misleading diagnostic `no such file' when asked
329   to create a file in an unwritable directory.  Now it says something like
330   `permission denied' or `read-only file system'.
331 [4.0j]
332 * mkdir may now be used to set special bits  e.g., `mkdir -m o+t dir' works
333 * touch can now change the time(s) of a file you own even if you don't have
334   read or write access to it
335 * rm no longer dumps core after warning about directory cycles
336 * mv now refuses to move a file onto a symlink to itself when that symlink
337   is on a separate partition.  Before, it would remove the file and leave
338   only the symlink.
339 * `install -d -g foo 1/2' now sets the `group' of the final component as well
340   as that of the leading one.
341 * df, du, and ls no longer divide by zero when an invalid block size is
342   specified through an environment variable
343 * under certain conditions, chgrp would fail to affect files referenced
344   through symlinks.  Now it does.
345 * ln now makes hard links to symlinks on systems that support it.
346 * touch: no longer infloop on dangling symlinks
347 * cp, install, ln, mv: deprecate the --version-control option.  Use --backup's
348   new optional argument instead.  The old option still works, but now evokes a
349   warning.
350 * cp, install, ln, mv: the --backup option now accepts an optional argument
351 * cp, install, ln, mv: accept new option: --target-directory=DIR
352 * chgrp: accept new option, --dereference.  --no-dereference is now the default.
353 * New ls option --quoting-style=locale acts like --quoting-style=c, except
354   with locale-specific quoting symbols (` and ' by default) instead of ".
355 * `df DIR' is less likely to hang due to bad NFS mounts
356 * As per POSIX.2, `df -P' now uses ceiling rather than rounding, and its
357   header now says `1024-blocks ... Capacity' instead of `1k-blocks ... Use%'.
358 [4.0i]
359 * `cp -f FILE FILE' and `mv -f FILE FILE' no longer remove FILE
360 * touch works once again (DST-wise) when certain `--date DATE-TIME'
361   values are specified.
362 * shred's -u option (short form of --remove) is now accepted
363 [4.0h]
364 * cp --one-file-system (-x) no longer crosses filesystem boundaries.
365 * touch can once again operate on directories
366 [4.0g]
367 * New large-file support for AIX and HP-UX, and for cross-compiles.
368 * shred's default options are now suitable for devices, not files, since
369   shred is more reliable on devices.  shred now does not remove by default;
370   the old -p or --preserve option was inverted and renamed to -u or --remove.
371 * shred -u now attempts to truncate devices before removing them.
372 * shred -v no longer outputs carriage-returns; shred -vv has no extra effect;
373   shred -v now outputs to stderr.
374 * shred now tries to find the size of a non-regular file by seeking to its end.
375 * dd now opens the output file for *read* access only if `seek=' is used.
376 [4.0f]
377 * `ls --color' no longer segfaults
378 * dd works once again
379 [4.0e]
380 * shred --devices option renamed to -D so that -d, -i and -r can be
381   compatible with rm.
382 * shred -s/--size=N option added to specify the size of the object to be
383   shredded.
384 * `shred -' now shreds stdout rather than stdin.  This is incompatible with -v.
385 * shred now does not need to read from its output file, so opens it O_WRONLY
386 * `ls -l' uses `+' to designate each file that has a custom ACL
387 * eliminate race condition that could make touch truncate a nonempty file
388 * No longer use *_unlocked I/O macros on systems (like solaris5.5.1) where
389   they're not declared, so selected executables (e.g., rm) that are linked
390   with shared libraries will once again run on solaris5.6 systems.
391 [4.0d (aka 4.1-b3)]
392 * ls recognizes solaris 2 `doors'
393 * new program: shred
394 * ln: Allow creation of a hard link to a dangling symlink
395 * cp, mv, install: --verbose now prints a message for each backup-related
396   renaming
397 * portability fixes for copy.c's code to detect move-directory-into-self
398 * upgrade to automake-1.3b
399 * upgrade to autoconf-2.13, and...
400 * remove some of the kludges in m4/*.m4 that permitted
401 [4.1-b2]
402 * concurrent `mkdir -p' processes no longer fail when creating the
403   same hierarchy
404 * argmatch.c has been fixed so that the unambiguous usage `ls --color=n'
405   no longer evokes an error.
406 * now, specifying an improper argument for an option that accepts enumerated
407   values evokes diagnostics like this:
408     $ src/touch --time=x file
409     src/touch: invalid argument `x' for `--time'
410     Valid arguments are:
411       - `atime', `access', `use'
412       - `mtime', `modify'
413     Try `src/touch --help' for more information.
414 [4.1-b1]
415 * ls --quoting-style=c prints correct octal escapes for certain nonprinting
416   characters in file names.
417 * fix `ls -R .' formatting bug that broke mktexlsr
418 * moving a directory into itself is properly diagnosed in more cases
419 * moving a directory containing hard-linked files now works
420
421 Changes in release 4.0:
422 [4.0-b7]
423 * rm -rf '' no longer gets a failed assertion on the Hurd
424 [4.0-b6]
425 * rm simply fails as it should (rather than segfaulting) for
426   `mkdir -m 0100 x; rm -rf x'
427 [4.0-b5]
428 * still *more* mktime.c portability tweaks
429 [4.0-b4]
430 * mktime.c portability tweak for headers with GNU libc 5.4.44.
431 [4.0-b3]
432 * mktime.c works around problems with Digital Unix 4.0A and 4.0D.
433 * mktime.c handles dates in the spring-forward gap the same way other
434   implementations do
435 * install accepts long option --suffix=SUFFIX
436 [4.0-b2]
437 * man/Makefile.maint framework tweaks
438 * add test for `mv -i' bug
439 [4.0-pre1]
440 * fix serious bug whereby `touch a b; echo n|mv -i a b' would remove b.
441 [3.16z]
442 * portability tweaks
443 * avoid `root `cp -a' from Netapp snapshot' corruption
444 [3.16y]
445 * `install -D' now works
446 * distribute maintainer Makefiles in man/
447 [3.16x]
448 * man pages are now automatically generated from a combination of --help
449   output and the contents of new (though mostly empty), man/*.x files.
450 [3.16w]
451 * touch now interprets `-t TIME-DATE' as POSIX specifies
452 * `ls EMPTY-DIR EMPTY-DIR' once again outputs the directory names
453 [3.16v]
454 * portability fixes
455 * `ls -R EMPTY-DIR' now outputs the name of the directory
456 [3.16u]
457 * mv now fails (as it should) upon attempt to move a directory into itself
458 * `cp -a --one-file-system' now copies any mount point directories it
459   encounters on the selected file system.
460 [3.16t]
461 * cp (with --update) and ls compare time stamps with subsecond resolution when
462   available (e.g., on systems with recent Linux kernels and on Solaris 2.6).
463 * install once again does the -m-specified chmod *after* running strip
464   (this fixes another bug introduced in 3.16o)
465 [3.16s]
466 * df accept a new option --local (-l)
467 * touch works around a system-specific bug so it now affects existing,
468   zero-length files on certain systems
469 * chown now works even on certain SVR3 systems where it used to fail
470 [3.16r]
471 * include gettext's m4 macros
472 * minor cp bug fixed
473 * non-portable cp tests removed
474 * --without-included-regex now means don't compile regex.c
475 * rx support removed
476 [3.16q]
477 * `df', `du', and `ls' now accept a new option --block-size=SIZE,
478   where SIZE can be a positive integer block size, followed by an
479   optional SI prefix (e.g. `k' for kilo, `M' for Mega), followed by an
480   optional `B' (for ``byte'', indicating powers of 1024, which is the
481   default) or `D' (for ``decimal byte'', indicating powers of 1000).
482   SIZE can also be `human-readable' (for -h or --human-readable
483   behavior) or `si' (for -H or --si behavior).
484 * These suffixes can also be used by `dd'; e.g. `dd bs=1MB' is equivalent
485   to `dd bs=1048576'.
486 * The default block size for the `df' command is now obtained from the
487   DF_BLOCK_SIZE environment variable or, if that is not set, from BLOCK_SIZE.
488   Similarly for `du' and `ls'.
489 * The output columns of `df' have been adjusted slightly to accommodate
490   larger filesystems.
491 * fix gettext-related link failures seen when configuring certain ways
492 [3.16p]
493 * fix install bug introduced in 3.16o
494 * build/test changes only
495 [3.16o]
496 * chown accepts new option, --dereference.  --no-dereference is now the default.
497 * install now shares core copying code with mv and cp
498 * mv (between distinct filesystems) now uses more of the core copying code
499 * fixed a bug or two in mv
500 * df once again displays negative numbers when that's what's returned
501   by get_fs_usage
502 [3.16n]
503 * `mv dir dir' once again does *not* remove dir/
504 * ls accepts new options:
505     --indicator-style=none (no indicators, the default)
506     --indicator-style=classify (all indicators)
507          (equivalent to -F or --classify)
508     --indicator-style=file-type (file type indicators)
509          (equivalent to -p or --file-type)
510
511     --quoting-style=literal (do not quote output)
512     --quoting-style=shell (minimally quote output for the shell)
513     --quoting-style=shell-always (always quote output with '' for the shell)
514     --quoting-style=c (quote output as for a C-language string)
515          (equivalent to -Q or --quote-name)
516     --quoting-style=escape (like c but omit enclosing "")
517          (equivalent to -b or --escape)
518
519     --show-control-chars is the opposite of --hide-control-chars
520       This option can be useful if output is to a terminal,
521       to override the default beahvior of hiding control characters.
522
523 * The QUOTING_STYLE environment variable can now be used to specify the
524   default value for ls's --quoting-style option.  If not specified,
525   the default quoting style is 'literal', but this default may change to
526   'shell' in a future version of this package.
527 * ls's quoting style now affects operands in diagnostics, too.
528 * ls's --dired option now outputs the quoting style
529   using the format of the new --quoting-style option.
530 * ls's -e or --quote-shell option (introduced in 3.16j) has been removed;
531   use --quoting-style=shell to get its functionality.
532 [3.16m]
533 * mv can move (and doesn't read) special files
534 * remove maintainer mode
535 [3.16l]
536 * mv can finally move non-regular files between partitions
537 [3.16k]
538 * install accepts new option, -D
539 [3.16j]
540 * du accepts new options, --exclude=PAT and --exclude-from=FILE (-X FILE)
541 * ls now quotes file names for the shell by default, if they contain
542   characters that need quoting.  Use -N to get the old default behavior.
543   The new behavior is also enabled by the new option -e or --quote-shell.
544 * ln --backup is now consistent with cp and mv in that --force is no longer
545   required when the destination is an existing non-directory.
546 * install accepts new option, --verbose (-v)
547 * mkdir -p is a lot faster when creating very deep directories on some systems
548 * rm -i no longer exits with status indicating failure solely because the
549   user declines to remove a file
550 * rm -r is a lot faster on some systems when removing deep hierarchies
551 * chgrp, chmod, and chown no longer give contradictory output when --verbose
552   is used and an operation fails
553 * ls's multicolumn option now uses variable width columns to conserve
554   vertical space
555 * install accepts new option, --preserve-timestamps
556 * du --megabytes --total now shows total in megabytes
557 * ls accepts new option, -h or --human-readable
558 * df, du, and ls now accept new option, -H or --si, for powers of 1000 not 1024
559 * df, du, and ls now consistently round to nearest, with ties going to even
560 * df, du, and ls now use `k' instead of `K' for `kilo',
561   and support larger abbreviations T(era), P(eta), E(xa), Z(etta), Y(otta)
562 * touch -d DATE now works on Unicos
563 * du accepts new option --max-depth=N
564 * rmdir accepts new options: --ignore-fail-on-non-empty and --verbose
565 * on most hosts df, du, and ls now overflow at 2**64 bytes, not 2**31 bytes
566 * all programs now work on large files on LFS systems like Solaris 2.6 and
567   Linux with the pre-2.1 development version of GNU libc.
568 * df now works with OpenBSD 2.1 beta
569 * cp -d FILE SYMLINK-TO-FILE doesn't erase FILE.  Now it gives an error.
570
571 Changes in release 3.16:
572 * du --megabytes (-m) works
573 * ls -l works even on systems with non-POSIX strftime in their C library
574
575 Changes in release 3.15:
576 * touch --date=DATE bug (due to broken getdate.y) has been fixed
577 * ls -l no longer misformats the date when run in a locale for which the
578   locale's abbreviated week-day name (strftime's %a format) is shorter or
579   longer than the `normal' three bytes (with LANG=de it's a two-byte string).
580 * Using --program-prefix no longer applies the prefix twice
581 * ls --color properly restores color attributes upon completion when the
582   normal (`no') color attribute is not the default color.
583 * with ls -s --color, the `total' and size of the first file are printed
584 * ls --color stats symlinks and distinguishes between regular symlinks
585   and orphan ones.
586 * cp --preserve preserves owner and group of symlinks on Linux when run
587   with EUID == 0
588 * dircolors no longer accepts --print-data-base (alternate spelling of
589   --print-database)
590
591 Changes in release 3.14:
592 * ls --color highlights based on suffix rules only for regular files
593 * touch --date=DATE accepts dates like those in an RCS log listing, e.g.,
594   `1992/11/01 05:44:34'.
595 * install SRC DST no longer rejects non-regular, non-directory SRC
596 * df accepts -F as a synonym for -t for compatibility with Solaris
597 * cp -i /dev/null existing-file now prompts before overwriting the target
598 * ls --color highlights orphaned symlinks text on terminals that support it
599 * ls -l honors current locale with respect to abbreviated month names (and,
600   with --full-time day names) on systems with a locale-supporting strftime
601   function, e.g., ones based on recent versions of the GNU C library
602 * ls -l recognizes Cray's migrated dmf files.
603 * chgrp no longer aborts when given a group number larger than INT_MAX
604 * chgrp now fails when run by root with an unrecognized group name
605 * when possible, cp -p preserves owner/group even on symlinks in case
606   they're in a directory that has the sticky-bit set.
607 * cp --recursive --parents SRC DEST works when SRC is an absolute file name.
608
609 Changes in release 3.13:
610 * ls properly determines window size on SunOS and Solaris systems
611 * ls accepts new option --color[=WHEN] where WHEN is `always', `never',
612   or `auto'.  --color=never is the default.  --color is equivalent
613   to --color=always.
614 * new program: dircolors
615 * ls allows 0 as argument to --tabsize (-T) option.  Using --tabsize=0
616   inhibits the use of TAB characters for separating columns.
617 * you can create a backup of FILE with cp --force --backup FILE FILE.  Before,
618   that command failed saying that ``FILE' and `FILE' are the same file'.
619 * uses automake-generated Makefile templates
620 * chown and chgrp accept new option --no-dereference (-h)
621 * ln -f FILE FILE fails with a diagnostic rather than silently removing FILE
622 * when building on systems that have getopt_long (most GNU-oriented ones),
623   the system-provided function will be used -- so executables may be a
624   little smaller
625 * cp -p, and mv modify owner and/or group of symlinks on systems
626   (like Solaris) that provide the lchown system call.
627 * df no longer invokes the sync system call by default.  You can use the
628   --sync option to make df invoke sync before getting file system sizes.
629 * internationalized diagnostic messages
630 * mkdir accepts new option: --verbose
631 * `cp file D/' uses the full file name `D/file' instead of `D//file'.
632 * cp --backup a~ a fails instead of silently destroying the source file
633 * df and du have new options --human-readable (-h) and --megabytes (-m).
634 * install now honors --backup (-b), --suffix=SUFFIX (-S SUFFIX), and
635   --version-control=WORD (-V WORD) options just as cp, ln, and mv do.
636 * ln --verbose output is less prone to misinterpretation
637 * ls -o works like -lG;  for compatibility with other versions of ls
638 * cp has a new option to control creation of sparse files:
639   --sparse={auto,always,never}.  --sparse=auto is the default.
640 * rm -rf '' behaves properly on SunOS 4 systems
641 * touch: rename long option name, --file, to --reference.
642   `touch --file' will continue to work a little longer.
643 * df fails if the same file system type is both selected and excluded.
644 * df works around SunOS statfs brokenness wrt filesystems larger than 2GB
645 * df better handles inconsistent mtab entries
646 * `ls -lDR dir dir2' works
647 * `ls -c' does what it's supposed to
648 * all programs include program name in --version output
649 * `ls --quote-name' works
650 * mv properly determines whether src and dest are the same file
651   Before, it could (though with very low probability) fail to do the move,
652   reporting that distinct source and destination are the same file.
653 * du --dereference (-L) works with directory symlinks
654 * du works on SunOS 4 systems even when accounting is enabled
655 * many programs that convert strings to integers now use strtol or strtoul
656   and detect overflow
657
658 User-visible changes in release 3.12:
659 * None.
660 User-visible changes in release 3.11:
661 * None.
662 User-visible changes in release 3.10:
663 * mkdir -p now ignores arguments that are existing directories.  Before,
664   (contrary to POSIX spec) it would attempt to change ownership and/or
665   protections of existing directories listed on the command line.  And
666   it would fail when such a directory was owned by another user.
667 * Fix bug in cp that made the commands `mkdir dir; touch foo; cp -P foo dir'
668   incorrectly change the permissions on directory, dir.
669 * df accepts a new option, --no-sync, that inhibits the default invocation
670   of the sync system call.
671 * ls accepts a new option, --dired, that makes emacs' dired mode more efficient
672 * skeletal texinfo documentation (mainly just the `invoking' nodes)
673 * ln accepts a new option: --no-dereference (-n).  With this option,
674   if the destination command line argument is a symlink to a directory,
675   use that as the destination instead of the file in the directory.
676 * `ln -i no-such-file existing-file' gives a diagnostic and fails.
677   Before, if you responded `yes' to the prompt it would both remove
678   `existing-file' and fail to make a link.
679 * du no longer requires read access to all of the directory components
680   of the current working directory on systems with fchdir.
681 * touch -d 'date' is no longer off by one hour.
682 * New program: sync.
683 * Fix bug in cp that made the commands `ln -s . s; cp -rd s r' incorrectly
684   create `r' as a symlink instead of as a regular file.
685 * du's -S and -c options now work when used together.
686   Before, the grand total was always reported to be zero.
687 \f
688 Major changes in release 3.9:
689 * --help gives a one-line description of each option and shows the
690   correspondence between short and long-named options.
691 * work around systems with BROKEN_STAT_MACROS
692 * work around problem where $(srcdir)/config.h was used instead of
693   ../config.h -- this happened only when building in a subdirectory
694   and when config.h remained in $(srcdir) from a previous ./configure.
695 * GNU chmod treats symlinks the same way other vendor's versions do.
696   Now symlinks listed on the command line are processed (they were
697   ignored before); the permissions of the dereferenced files are
698   changed.  Symlinks encountered in recursive traversals are still
699   ignored.  This makes GNU chmod act more like e.g. Sun's.
700 * configure uses config.h, so DEFS won't exceed preprocessor limits of
701   some compilers on the number of symbols defined via -D.
702 * ls and cp can handle mount points on more systems
703 * cp, mkdir, and rmdir long option --path renamed to --parents;  --path
704   will still work for a while
705 * cp, ln, and mv convert `cp A B/' to cp A B/A when A is not a directory.
706   This change affects only the two-argument form of the commands.  It makes
707   such commands fail when the target has a trailing slash but is not a
708   directory or symlink to a directory and the source is not a directory.
709   They used to succeed, ignoring the implicitly contradictory trailing slash.
710 \f
711 Major changes in release 3.8:
712 * install isn't as likely to produce spurious errors
713 * avoid redundant compilations for `dir' and `vdir';
714 * configure properly defines STAT_STATFS2_BSIZE on a Pyramid MIServer
715   running OSx 5.1
716 \f
717 Major changes in release 3.7:
718 * none
719 Major changes in release 3.6:
720 * `ln -s dir_pathname .' works when the pathname has a trailing slash
721 * with the --version option programs print the version and exit immediately
722 * GNU ls -f works like Unix ls -f
723 * mktime replacement works
724 \f
725 Major changes in release 3.5:
726 * adds support for DEC Alpha under OSF/1
727 * configuring with gcc uses CFLAGS='-g -O' by default
728 * all programs accept --help and --version options
729 * long-named options must be introduced with `--'; `+' is no longer
730   accepted since it is incompatible with the POSIX.2 standard
731 * chmod accepts long-named options
732 * dd conv=unblock doesn't hang
733 * new df option --exclude=fstype
734 * new ls option --full-time
735 \f
736 Major changes in release 3.4:
737 * cp -p and mv preserve setuid and setgid bits
738 * chown works on systems where sizeof(uid_t) != sizeof(int)
739   or sizeof(uid) != sizeof(gid)
740 * catch errors from spurious slashes at ends of arguments
741 \f
742 Major changes in release 3.3:
743 * df sped up by not calling sync for every filesystem
744 * df ported to AIX (RS/6000 and PS/2), and SVR2 port fixed
745 * df -i now also prints the total number of inodes per filesystem
746 * ls sped up by not reading symlink contents unnecessarily
747 * du doesn't die on POSIX systems when the root filesystem is NFS mounted
748 * cp and mv report chown Permission denied errors when run by root
749
750 ========================================================================
751
752 Copyright (C) 1992-2013 Free Software Foundation, Inc.
753
754 Permission is granted to copy, distribute and/or modify this document
755 under the terms of the GNU Free Documentation License, Version 1.3 or
756 any later version published by the Free Software Foundation; with no
757 Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
758 Texts.  A copy of the license is included in the ``GNU Free
759 Documentation License'' file as part of this distribution.