Jim Meyering
874f418e03
Remove obsolete FIXME.
1996-04-21 05:15:39 +00:00
Jim Meyering
0126f74936
(decode_switches): Replace two more atoi uses with xstrtol.
1996-04-21 04:45:12 +00:00
Jim Meyering
7d956ece8c
(decode_switches): Use getenv (POSIXLY_CORRECT), not undefined posix_pedantic.
1996-04-21 04:11:43 +00:00
Jim Meyering
ee708ff4aa
(decode_switches): Clean up last change.
...
[posix_pedantic]: Don't consider TABSIZE environment variable.
1996-04-21 04:07:41 +00:00
Jim Meyering
c1f1f8ac3a
(decode_switches): Use xstrtol, not atoi.
...
Detect and ignore invalid value for COLUMNS environment variable.
In error about invalid TABSIZE, don't reference optarg!
1996-04-21 03:52:30 +00:00
Jim Meyering
0aa556c39c
.
1996-04-21 03:27:32 +00:00
Jim Meyering
b76ab178d1
(usage): Improve help message. From Karl Berry.
1996-04-21 03:26:46 +00:00
Jim Meyering
dfbe6788b4
(usage): Improve help message. From Karl Berry.
1996-04-21 03:25:53 +00:00
Jim Meyering
1d2c0959c9
(usage): Improve help message.
...
Enclose message strings in _().
From Karl Berry.
1996-04-21 03:24:47 +00:00
Jim Meyering
fc0f5b4539
.
TEXTUTILS-1_14b
1996-04-20 04:50:26 +00:00
Jim Meyering
49af3f858e
.
1996-04-20 04:46:11 +00:00
Jim Meyering
0528939c0a
.
1996-04-20 03:51:17 +00:00
Jim Meyering
a2d90c1616
No longer call sync by default.
1996-04-20 03:51:10 +00:00
Jim Meyering
5ac0cdbfce
(main): Make separation of case for n_files == 0 more clear.
1996-04-20 03:43:10 +00:00
Jim Meyering
b8654f033b
.
1996-04-19 05:07:58 +00:00
Jim Meyering
f60c8ea48b
(copy_reg): Rearrange arithmetic in conditional to avoid
...
integer overflow with large files.
1996-04-19 05:07:52 +00:00
Jim Meyering
dafd2cb4e2
(basename): Rewrite so it doesn't rely on strrchr,
...
and hence doesn't need to include string.h -- on some alpha-based
OSF systems, there's a conflicting prototype for basename in string.h.
Reported by Kaveh Ghazi.
1996-04-19 04:41:27 +00:00
Jim Meyering
f970591c5a
.
1996-04-19 04:34:53 +00:00
Jim Meyering
d729e4cab7
.
1996-04-19 03:17:31 +00:00
Jim Meyering
cccb23f01b
(main): Make code clearer: use new variable `n_files' in
...
place of `argc - optind'. Use `file' instead of `argv + optind'.
1996-04-19 03:17:23 +00:00
Jim Meyering
199923e3cc
Indent cpp-directives.
1996-04-18 23:02:17 +00:00
Jim Meyering
706389d9df
.
1996-04-17 05:03:22 +00:00
Jim Meyering
bba21e6815
.
1996-04-17 05:02:34 +00:00
Jim Meyering
0f459ed24c
.
1996-04-17 05:01:56 +00:00
Jim Meyering
c1a0ddea63
.
1996-04-17 05:01:10 +00:00
Jim Meyering
337e927dae
.
1996-04-17 05:00:17 +00:00
Jim Meyering
d8ab22727f
.
1996-04-17 03:41:47 +00:00
Jim Meyering
505b859fe9
Test cpp-defined __sun as well as sun, because
...
in strict ANSI mode, only __sun is defined. From Kaveh Ghazi.
1996-04-14 02:12:46 +00:00
Jim Meyering
e6cfa98486
.
1996-04-14 00:34:30 +00:00
Jim Meyering
93bd527109
.
1996-04-13 18:27:27 +00:00
Jim Meyering
d283aef5ca
(usage): Add missing `\n\' at the end of newly added lines for %e and %z.
1996-04-13 18:27:24 +00:00
Jim Meyering
be333ac3a5
(print_uptime): Invoke getloadavg only if we have it.
1996-04-13 18:26:39 +00:00
Jim Meyering
62b978f77c
.
1996-04-13 18:13:16 +00:00
Jim Meyering
84e64a529a
Unprotoize.
...
[ISASCII]: Define.
[ISUPPER]: Define.
1996-04-13 18:13:09 +00:00
Jim Meyering
b4a20010e6
(decode_field_spec): Rename local variable `valid'
...
to invalid (and reverse sense) to avoid conflict with the
macro definition in /usr/include/locale.h on SunOS 4.1.3.
1996-04-13 18:11:43 +00:00
Jim Meyering
b8b9306a9a
.
1996-04-13 04:42:15 +00:00
Jim Meyering
5ec32b62e5
.
1996-04-13 03:59:26 +00:00
Jim Meyering
c659704b20
(main): Add new option: --verbose.
...
Remove long-deprecated and nowhere-documented --path, a synonym
for --parents. It was confusing to get an error about `--p'
being ambiguous.
1996-04-13 03:59:20 +00:00
Jim Meyering
ce339a4a50
.
1996-04-13 03:58:33 +00:00
Jim Meyering
53ff5566ce
.
1996-04-13 03:18:47 +00:00
Jim Meyering
c1bf67ee67
Mark translatable strings in new code.
1996-04-13 03:17:44 +00:00
Jim Meyering
5dbe03ea6c
.
1996-04-13 03:07:54 +00:00
Jim Meyering
a2b6134e37
.
1996-04-13 03:05:56 +00:00
Jim Meyering
d82c2c9274
(usage): Document %e and %z. Reported by Karl Berry.
1996-04-13 03:04:21 +00:00
Jim Meyering
cc6711057e
.
1996-04-13 02:54:59 +00:00
Jim Meyering
c60619245a
.
1996-04-13 02:54:13 +00:00
Jim Meyering
a7b3ea4189
.
1996-04-12 04:27:03 +00:00
Jim Meyering
7057c83fd4
Reindent.
...
(UT_TIME_MEMBER): New macro.
(print_uptime): Use it instead of #ifdef HAVE_UTMPX_H #else.
(print_entry): Likewise.
1996-04-11 02:30:09 +00:00
Jim Meyering
737ea4d4f9
(print_uptime) [UPTIME]: New function. From Kaveh Ghazi.
1996-04-10 04:57:09 +00:00
Jim Meyering
ac22df9290
.
1996-04-10 04:03:47 +00:00