Jim Meyering
710dca5363
Don't assume that 'ls' output is fixed-width.
2003-12-08 09:03:51 +00:00
Jim Meyering
a6616a3786
* NEWS: ls -l (and similar options) now adjust all columns to
...
fit the data. Generalized from a suggestion by Leah Q for file sizes.
2003-12-08 08:38:37 +00:00
Jim Meyering
db98a73a39
*** empty log message ***
2003-12-08 08:38:33 +00:00
Jim Meyering
a8404d3cf8
*** empty log message ***
2003-12-08 08:37:41 +00:00
Jim Meyering
131083bdbc
(What information is listed, chroot invocation):
...
Adjust example 'ls' output to match new behavior with narrower
output columns.
(The cut command): Remove example that cut the output of
'ls -l'. The output was incorrect even with the old 'ls', and
the whole idea of using 'cut' on 'ls -l' output is bogus anyway.
2003-12-08 08:37:36 +00:00
Jim Meyering
f8822b3232
*** empty log message ***
2003-12-08 08:36:20 +00:00
Jim Meyering
a010053815
(INODE_DIGITS, LOGIN_NAME_MAX, ID_LENGTH_MAX): Remove.
...
(format_user_width, format_group_width, unsigned_file_size,
format_group): New functions.
(block_size_width): Renamed from block_size_size.
(inode_number_width, nlink_width, owner_width, group_width,
author_width, major_device_number_width, minor_device_number_width,
file_size_width): New vars.
(clear_files): Initialize them.
(gobble_file): Set them. Don't ceiling block_size_width to 7.
(print_long_file): Use them.
(gobble_file): Use a new local variable 'f' to make the code
smaller and more consistent with other functions.
(format_user): Output to stdout, not to a buffer, so that we
don't have to worry about buffer overrun. Update dired_pos.
(print_long_file): Don't put owner, group, author into buffer;
just print them directly. Don't assume link counts and
major and minor numbers fit into unsigned long int.
From Paul Eggert.
2003-12-08 08:34:40 +00:00
Jim Meyering
8a0f4de82a
.
2003-12-03 10:32:34 +00:00
Jim Meyering
8954da8514
*** empty log message ***
2003-12-03 10:31:55 +00:00
Jim Meyering
a146b69be1
.
2003-12-03 10:31:37 +00:00
Jim Meyering
554a8298c9
*** empty log message ***
2003-12-03 10:28:45 +00:00
Jim Meyering
54594d2b21
(getgroups): xmalloc takes one argument, not two.
2003-12-03 10:28:39 +00:00
Jim Meyering
d82b470324
*** empty log message ***
2003-12-02 10:06:55 +00:00
Jim Meyering
5c72eac595
Include sha1.h (reflect renaming: sha.h -> sha1.h.
2003-12-02 10:06:36 +00:00
Jim Meyering
442c5295fc
.
2003-12-02 09:30:35 +00:00
Jim Meyering
c0efef3c7f
*** empty log message ***
2003-12-02 09:08:27 +00:00
Jim Meyering
4797f7f440
Use SHA1_H, not _SHA_H in #ifndef condition.
2003-12-02 09:08:16 +00:00
Jim Meyering
5dd50e5eb3
.
2003-12-02 09:06:54 +00:00
Jim Meyering
83e15c483a
renamed to sha1.h
2003-12-02 09:06:24 +00:00
Jim Meyering
51f4a36e98
renamed to sha1.c
2003-12-02 09:06:18 +00:00
Jim Meyering
aec463c0f3
File renamed from sha.h.
2003-12-02 09:05:50 +00:00
Jim Meyering
a87fa9b8c3
File renamed from sha.c.
...
Include sha1.h, not sha.h.
2003-12-02 09:05:40 +00:00
Jim Meyering
e806d25647
Reflect sha -> sha1 renaming.
2003-12-02 08:59:47 +00:00
Jim Meyering
1491869c38
.
2003-12-02 08:57:48 +00:00
Jim Meyering
6a58c5e0e0
Add FSF Copyright.
2003-12-02 08:57:39 +00:00
Jim Meyering
52a18b9571
*** empty log message ***
2003-12-02 08:55:36 +00:00
Jim Meyering
6a434077b8
Correct stale references to MD5 and `16 bytes'.
...
Patch by Ulrich Drepper.
Add FSF Copyright. Remove reference to Scott Miller,
since this file is now nearly identical to md5.h.
2003-12-02 08:55:30 +00:00
Jim Meyering
5582bf3995
*** empty log message ***
2003-12-02 08:24:38 +00:00
Jim Meyering
72bcce966c
(rol) [__GNUC__ && __i386__]: Don't use `asm' code. These
...
days, gcc-3.x does better all by itself. Patch from Dean Gaudet:
http://mail.gnu.org/archive/html/bug-coreutils/2003-11/msg00144.html
2003-12-02 08:24:31 +00:00
Jim Meyering
29715e4653
*** empty log message ***
2003-11-29 12:02:53 +00:00
Jim Meyering
71109d9261
Include "xalloc.h", for decl of xstrdup.
2003-11-29 12:01:51 +00:00
Jim Meyering
48b933cbd2
*** empty log message ***
2003-11-29 11:58:59 +00:00
Jim Meyering
b91ac83e67
(c_strtod): Save and restore original LC_NUMERIC setting,
...
in case it was different from the environment-derived value.
Patch by Paul Eggert.
2003-11-29 11:55:52 +00:00
Jim Meyering
a9c4ddaaa8
*** empty log message ***
2003-11-27 09:43:33 +00:00
Jim Meyering
e61017bc19
.
2003-11-27 09:42:50 +00:00
Jim Meyering
1c420821c7
Remove new temp file, h-$i.
2003-11-27 08:45:01 +00:00
Jim Meyering
a466769fb8
(syntax-check-rules): Remove sc_xalloc_h_in_src from here, too.
2003-11-27 08:29:03 +00:00
Jim Meyering
0238dfc265
*** empty log message ***
2003-11-27 08:26:04 +00:00
Jim Meyering
3eb6afeaa6
*** empty log message ***
2003-11-27 08:18:45 +00:00
Jim Meyering
f548cf59b9
*** empty log message ***
2003-11-27 08:17:47 +00:00
Jim Meyering
229022b220
Include "c-strtod.h".
...
(parse_options): Update xstrtod call to include new argument, c_strtod.
2003-11-27 08:17:35 +00:00
Jim Meyering
6b18b46eae
Include "c-strtod.h".
...
(main): Update xstrtod call to include new argument, c_strtod.
2003-11-27 08:16:38 +00:00
Jim Meyering
355848c4c8
Include "c-strtod.h".
...
(scan_double_arg): Update xstrtod call to include new argument, c_strtod.
2003-11-27 08:14:39 +00:00
Jim Meyering
f2701c5758
Remove decls of strtod, strtol, strtoul; no longer
...
needed now that we assume C89. Include "c-strtod.h".
(xstrtod): Call c_strtod, not strtod.
2003-11-27 08:02:18 +00:00
Jim Meyering
2a2f3217c6
.
2003-11-27 08:00:12 +00:00
Jim Meyering
fea15ed751
Tweak mark-up to use @env, not @code in a few places.
...
Mark new use of LC_NUMERIC.
2003-11-27 07:58:32 +00:00
Jim Meyering
c86e7b4b51
*** empty log message ***
2003-11-27 07:52:48 +00:00
Jim Meyering
c7ba991a1d
Parse floating-point operands and options in the C locale.
...
POSIX requires this for printf, and we might as well be
consistent elsewhere (tail, sleep, seq).
(tail invocation, printf invocation,
sleep invocation, seq invocation): Document this.
2003-11-27 07:52:45 +00:00
Jim Meyering
6c6a0b1943
.
2003-11-27 07:48:35 +00:00
Jim Meyering
c0f0a326af
(xstrtod): Accept an extra arg, specifying the conversion function.
...
Don't include stdlib.h; no longer needed.
2003-11-27 07:48:21 +00:00