Commit Graph
24019 Commits
Author SHA1 Message Date
Jim Meyering c672e2892b (main): With -r, always dereference symlinks. 2001-12-29 22:58:40 +00:00
Jim Meyering 27d553aad2 *** empty log message *** 2001-12-29 22:55:43 +00:00
Jim Meyering d04627589e . 2001-12-29 22:55:17 +00:00
Jim Meyering 9782cef803 *** empty log message *** 2001-12-29 22:53:38 +00:00
Jim Meyering 88429654db (TESTS): Add r-vs-symlink. 2001-12-29 22:53:09 +00:00
Jim Meyering b9ca7077bb . 2001-12-28 08:08:15 +00:00
Jim Meyering f5bf6fe980 Use notation compatible with SI and with IEC 60027-2.
For example, --block-size=1MB now means --block-size=1000000,
whereas --block-size=1MiB now means --block-size=1048576.
A trailing `B' now means decimal, not binary; this is a silent change.
-H or --si now outputs the trailing 'B', for consistency with this.
Programs now output trailing 'K' (not 'k') to mean 1024.
New df, du short option -B is short for --block-size.
You can omit an integer `1' before a block size suffix,
e.g. `df -BG' is equivalent to `df -B 1G' and to `df --block-size=1G'.

Document the above.  Remove documentation
for obsolescent constructs MD, --kilobytes, -m or --megabytes.
2001-12-21 11:54:04 +00:00
Jim Meyering 9db9190cd4 *** empty log message *** 2001-12-21 11:40:55 +00:00
Jim Meyering df5fb23be1 *** empty log message *** 2001-12-21 11:39:22 +00:00
Jim Meyering 9b9c6a8565 [!HAVE_CONFIG_H]: Remove block of code that duplicated
code in lib/ for compiling this program without config.h.
2001-12-21 11:39:02 +00:00
Jim Meyering 51a3adcefa (usage): Deprecate --kilobytes. Document size suffixes. 2001-12-21 11:36:35 +00:00
Jim Meyering d1772031ee (BLOCK_SIZE_OPTION): Remove; no longer needed now that we have 'B'.
(long_options, usage, main): Add -B.
(usage): Deprecate --kilobytes, -m, --megabytes.
Document size suffixes.

(print_header, show_dev): Enlarge column widths for trailing "B".
2001-12-21 11:35:54 +00:00
Jim Meyering 309253682d (BLOCK_SIZE_OPTION): Remove; no longer needed now that we have 'B'.
(long_options, usage, main): Add -B.
(usage): Deprecate --kilobytes, -m, --megabytes.
Document size suffixes.
2001-12-21 11:31:54 +00:00
Jim Meyering b34d965da0 (usage, parse_integer): Prefer K to k for 1024. 2001-12-21 11:28:34 +00:00
Jim Meyering b9676dd73d *** empty log message *** 2001-12-20 16:54:24 +00:00
Jim Meyering de9ef8a7a7 *** empty log message *** 2001-12-20 16:53:56 +00:00
Jim Meyering 3c20276087 (usage, specify_sort_size): Accept 'K' (which is
now preferred, as it connotes 1024) as well as 'k'.
2001-12-20 16:53:50 +00:00
Jim Meyering 174e9df9c1 *** empty log message *** 2001-12-20 10:01:41 +00:00
Jim Meyering 8d83abaf89 (close_stdout_status): If ferror (stdout), do
not silently exit merely because the output buffer happens to
have nothing pending.
2001-12-20 10:01:25 +00:00
Jim Meyering 82a83f3743 *** empty log message *** 2001-12-19 18:10:46 +00:00
Jim Meyering 0b6b9b5195 Add FSF copyright notice. 2001-12-19 18:10:24 +00:00
Jim Meyering ae3295706e *** empty log message *** 2001-12-19 15:07:13 +00:00
Jim Meyering 79a8c33f6d *** empty log message *** 2001-12-19 15:05:38 +00:00
Jim Meyering 44dcbba28a (suffixes): Prefer K to k for 1024.
(generate_suffix_backwards): New function.
(human_readable_inexact): Use it.
2001-12-19 15:05:33 +00:00
Jim Meyering f0ed17134a (__xstrtol): If there is no number but there
is a valid suffix, assume 1.  "MB" now means decimal, "MiB" binary.
Accept 'K' as well as 'k'.
2001-12-19 10:41:27 +00:00
Jim Meyering 1cc94659ad (xstrtoumax): If there is no number but there
is a valid suffix, assume 1.  "MB" now means decimal, "MiB" binary.
Accept 'K' as well as 'k'.
2001-12-19 10:35:39 +00:00
Jim Meyering 4ee49675d3 *** empty log message *** 2001-12-17 19:45:12 +00:00
Jim Meyering 2fcddf2514 (usage): Remove strap `)' in --help output. 2001-12-17 19:45:03 +00:00
Jim Meyering 450dbb37c2 *** empty log message *** 2001-12-17 09:09:05 +00:00
Jim Meyering 42ee53e9ba *** empty log message *** 2001-12-17 09:08:39 +00:00
Jim Meyering 2a9c589d4d *** empty log message *** 2001-12-17 09:07:22 +00:00
Jim Meyering 4efee8b478 (url_dir_list): Don't set define it here, but... 2001-12-17 09:06:56 +00:00
Jim Meyering 6e5e7b7179 (url_dir_list): ...define it here instead.
(hosts, a_host, b_host): Remove now-unused variables.
(alpha_subdir, a_url_dir, b_url_dir): Remove now-unused variables.
2001-12-17 09:06:33 +00:00
Jim Meyering a580a5e647 (real_dir): Remove unused variable. 2001-12-17 09:01:08 +00:00
Jim Meyering d63b8caa5c use generated fs_name function FILEUTILS-4_1_4 2001-12-16 22:59:07 +00:00
Jim Meyering 2fae9e5d26 Use new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTION
instead of hard-coding --help and --version descriptions.
Split --help output into smaller pieces.
Use fputs, not printf.
2001-12-15 20:46:30 +00:00
Jim Meyering 9be58099c4 *** empty log message *** 2001-12-15 20:46:00 +00:00
Jim Meyering 49db4dd32c *** empty log message *** 2001-12-15 16:59:00 +00:00
Jim Meyering c6be028a84 (STREQ): Define. 2001-12-15 16:58:53 +00:00
Jim Meyering e92b78f873 (__restrict_arr): Update from libc. 2001-12-15 16:57:15 +00:00
Jim Meyering 83c58cadbc from Marcus Brinkmann 2001-12-15 16:45:38 +00:00
Jim Meyering c3d224580c *** empty log message *** 2001-12-15 10:38:55 +00:00
Jim Meyering 894cb43a58 *** empty log message *** 2001-12-15 10:37:11 +00:00
Jim Meyering d063f15ca1 (ME_REMOTE): Recognize file systems of type smbfs
as `remote' if the name starts with `//'.
2001-12-15 10:36:58 +00:00
Jim Meyering 7e03c96656 *** empty log message *** 2001-12-15 09:29:14 +00:00
Jim Meyering ae66a6b2b0 Also accept SunOS4's `Not owner' diagnostic. 2001-12-15 09:28:50 +00:00
Jim Meyering 686562b5a7 Run each --help and --version test with a few different settings
of LC_MESSAGES.
2001-12-15 09:14:21 +00:00
Jim Meyering b094fe9daa Fail also if ./$i --version fails. 2001-12-15 09:07:18 +00:00
Jim Meyering 16a1aff95a *** empty log message *** 2001-12-14 11:21:13 +00:00
Jim Meyering 7f892add00 (jm_MACROS): Check for iswspace.
Suggestion from Bruno Haible.
2001-12-14 11:21:04 +00:00