Commit Graph
1987 Commits
Author SHA1 Message Date
Jim Meyering f51eb4a5cc (decode_switches): Set print_with_color in one statement. 1996-06-01 23:08:35 +00:00
Jim Meyering de40301f0a Rename options and internal variables to reflect change to
--color=WHEN where WHEN is never, always, or auto (for consistency
with e.g. cp --sparse=WHEN.  For at least a while, the original
slackware-supported arguments `none', `force', `yes', etc will be
supported but deprecated by lack of documentation.
(decode_switches): Use STDOUT_FILENO instead of `1' in is_tty test.
(usage): Update/add description of the --color option.
1996-06-01 18:36:19 +00:00
Jim Meyering aa41cdbb65 . TEXTUTILS-1_17 1996-06-01 03:21:53 +00:00
Jim Meyering 4d02bdd9b0 . 1996-06-01 03:19:25 +00:00
Jim Meyering 41e8b21fb7 . 1996-06-01 03:06:06 +00:00
Jim Meyering fe9da7ee9b . TEXTUTILS-1_16 1996-05-31 03:45:49 +00:00
Jim Meyering bd8218fbe9 . 1996-05-31 03:45:31 +00:00
Jim Meyering d52bc68220 . 1996-05-31 03:45:16 +00:00
Jim Meyering 090cd9f443 . 1996-05-31 03:44:15 +00:00
Jim Meyering b6c83bbaa0 . 1996-05-31 03:42:11 +00:00
Jim Meyering 5946c46972 . 1996-05-31 03:36:22 +00:00
Jim Meyering 20522f2f5d (main): Interpret the old-style +VALUE and -VALUE
options like -c VALUE and -c +VALUE (resp) when VALUE has one of
the [bkm] suffix multipliers.  This makes the code consistent
with --help output.
1996-05-31 03:35:32 +00:00
Jim Meyering 7b297f76c4 . 1996-05-31 03:08:07 +00:00
Jim Meyering 3c467c0d22 (limfield): #ifdef-out a block of code that makes
GNU sort incompatible with Unix sort when a key-end spec refers
to the N'th character in a field that has fewer than N characters.
The POSIX spec doesn't appear to specify behavior for this case.
From Karl Heuer.
1996-05-31 03:07:45 +00:00
Jim Meyering b2ae052c6d . 1996-05-31 02:36:34 +00:00
Jim Meyering 8ee7e2c0c8 (.po.mo): Reenable dependency and rule.
It is required when using native NLS, e.g. on Solaris.
From Marcus Daniels.
1996-05-31 02:35:59 +00:00
Jim Meyering 3270b340e8 ($(PACKAGE).pot): Depend on POTFILES only when using maintainer mode.
Reported by Karl Heuer.
1996-05-31 02:26:23 +00:00
Jim Meyering 22978078f7 (stamp-cat-id): Avoid using temp filename longer than 14 characters.
(mostlyclean): Likewise.
From Karl Heuer.
1996-05-31 00:58:51 +00:00
Jim Meyering 53e41464fd (decode_one_format): Use %lu (not %d) printf formats
corresponding to unsigned long, SIZE.
1996-05-31 00:51:48 +00:00
Jim Meyering 86f7daf592 . 1996-05-31 00:51:23 +00:00
Jim Meyering 91e12f541f . TEXTUTILS-1_15 1996-05-30 06:34:25 +00:00
Jim Meyering 176a02c5d9 (installcheck): New target. 1996-05-30 06:34:16 +00:00
Jim Meyering c6836cfdda . 1996-05-30 05:23:02 +00:00
Jim Meyering 090a56eb9c (decode_one_format): Take another parameter.
Give a specific diagnostic for invalid format spec here rather
than an overly general one from caller's caller.
(decode_format_string): Update caller.
(main): Don't give diagnostic here when decode_format_string fails.
Remove assertions that could fail on some Crays because they don't
have a two-byte type.
Johan Danielsson (joda@pdc.kth.se) reported the failed assertions.
1996-05-30 05:09:56 +00:00
Jim Meyering 8c0d3621b3 . 1996-05-30 05:09:31 +00:00
Jim Meyering 86d6d4c47c . 1996-05-30 02:32:19 +00:00
Jim Meyering f1d4b41340 (docolon): Give a warning when the first character
of the basic regular expression is `^'.
1996-05-30 02:32:03 +00:00
Jim Meyering ab8cec12c9 . 1996-05-30 02:31:45 +00:00
Jim Meyering 3bd31fac90 (main): Use STDIN_FILENO instead of less portable fileno (stdin). 1996-05-30 00:59:50 +00:00
Jim Meyering 31f9f9f24c . 1996-05-29 04:46:00 +00:00
Jim Meyering e7b4a0bced . 1996-05-28 23:42:01 +00:00
Jim Meyering a3b44d2fd5 . 1996-05-28 23:41:11 +00:00
Jim Meyering 55dcae1c8d (main): Don't mark "%s" as a translatable string.
From Göran Uddeborg.
1996-05-28 23:40:11 +00:00
Jim Meyering a01eaef0fd (print_stats): Don't mark "%u %s" as a translatable string.
From Göran Uddeborg (gvran@uddeborg.pp.se).
1996-05-28 23:39:12 +00:00
Jim Meyering 9da759a317 (main): Use STDIN_FILENO and STDOUT_FILENO instead of less portable fileno(*). 1996-05-28 01:42:07 +00:00
Jim Meyering d2d2d043ff Hack out broken WEAK junk. TEXTUTILS-1_14e 1996-05-24 03:06:01 +00:00
Jim Meyering afd4dcf3b2 Define __P. 1996-05-24 02:45:38 +00:00
Jim Meyering 9b7bbe7b0b . 1996-05-23 13:14:11 +00:00
Jim Meyering d84462d473 FIXME: fill this in 1996-05-23 13:13:35 +00:00
Jim Meyering e3579cb231 . 1996-05-23 13:05:04 +00:00
Jim Meyering 1a34934e94 (read_filesystem_list) [MOUNTED_LISTMNTENT]: New function.
From Johan Danielsson (joda@pdc.kth.se).
1996-05-23 13:04:41 +00:00
Jim Meyering c2705c1e62 [_CRAY]: Don't include sys/filsys.h because although
Unicos-9 has it, it's not needed and would cause other problems
because it requires inclusion of other, non-standard headers.
1996-05-23 13:04:03 +00:00
Jim Meyering 63d49273c4 (usage): Make --literal (-N) description clearer. 1996-05-23 12:52:54 +00:00
Jim Meyering 2df44bba5b Add copyright header. 1996-05-22 12:37:29 +00:00
Jim Meyering 4b17c0b9ac Update from GNU libc-copies. 1996-05-22 12:37:11 +00:00
Jim Meyering 71d6f09173 . 1996-05-22 12:07:38 +00:00
Jim Meyering 5faf3cd5fb . 1996-05-22 12:03:18 +00:00
Jim Meyering b4a30ded4c . 1996-05-21 12:15:50 +00:00
Jim Meyering e1dc14d3a1 (euidaccess) [!S_IROTH]: Define.
[!S_IWOTH]: Define.
[!S_IXOTH]: Define.
Marcus Daniels <marcus@sysc.pdx.edu> reported that m68k NEXTSTEP 3.2
doesn't define S_IROTH or S_IWOTH unless some posix compile option
is used and associated symbols defined.
1996-05-21 12:15:27 +00:00
Jim Meyering 4c8f853735 (xgetgroups): New function, factored out of
print_group_list and print_full_info.
(print_group_list): Call it.
(print_full_info): Call it.

From Andreas Schwab:
(print_group_list): When USERNAME is specified use
getugroups to get the number of groups.
(print_full_info): Likewise.
1996-05-21 04:19:02 +00:00