Commit Graph
2061 Commits
Author SHA1 Message Date
Jim Meyering e5aecd47c4 . 1996-06-25 05:16:30 +00:00
Jim Meyering c84a7a232e . 1996-06-25 05:09:55 +00:00
Jim Meyering 16c5d19ce5 (strndup): Deansify.
[!STDC_HEADERS]: Include string.h and stdlib.h.
1996-06-25 05:06:53 +00:00
Jim Meyering ac96f15bf3 (EXTRA_DIST): Add strndup.c.
(fu_SOURCES): Add getline.c.
(noinst_HEADERS): Add getline.h.
1996-06-25 05:05:43 +00:00
Jim Meyering 0c0537fdce . 1996-06-25 04:58:18 +00:00
Jim Meyering f58702e8f9 (decode_switches): Allow 0 as argument to --tabsize (-T) option.
Interpret as a directive to use no TAB characters to separate columns.
(indent): Handle TABSIZE == 0.
1996-06-25 04:56:22 +00:00
Jim Meyering 80c03e37ba . 1996-06-25 04:26:12 +00:00
Jim Meyering 71e65bb036 (dc_parse_stream): Give `unrecognized keyword' for misspelled
`TERM' keyword as well as for others.
1996-06-25 04:26:01 +00:00
Jim Meyering 522141076e . 1996-06-25 03:41:41 +00:00
Jim Meyering 408a47499e (dc_parse_stream): Remove spurious newline in error message.
(dc_parse_file): Remove erroneous test of ERR.
1996-06-25 03:41:29 +00:00
Jim Meyering 30a65b1aa3 Use an obstack to accumulate value of LS_COLORS. 1996-06-24 03:06:52 +00:00
Jim Meyering 0a3fdd250a . 1996-06-24 03:01:46 +00:00
Jim Meyering b617aa5f3f Add comma after e.g. in comment.
From Karl B.
1996-06-23 19:15:15 +00:00
Jim Meyering 8b0cf1dde4 . 1996-06-23 19:03:56 +00:00
Jim Meyering d392de74de * (parse_line): Rewrite to avoid modifying LINE.
Put LINE first in parameter list.
Adjust caller.
(dc_parse_stream): Free KEYWD and ARG.
(main): Give diagnostic for unreasonable combinations of
options/arguments.
1996-06-23 19:03:31 +00:00
Jim Meyering e5b4feb70a copied from id-utils-3.0k 1996-06-23 17:58:15 +00:00
Jim Meyering af41baeb91 (main): New option --print (-p).
Detect write failure.
Add --bourne-shell and --c-shell aliases for --sh and --csh resp.
1996-06-22 22:27:32 +00:00
Jim Meyering 5540d977f4 . 1996-06-22 22:27:14 +00:00
Jim Meyering 98b663a29b Major overhaul. No longer read from /etc/DIR_COLORS or from ~/.dircolors.
Defaults are now compiled in.  If you specify a file on the command line,
it is used instead of the compiled-in defaults.
1996-06-22 22:02:37 +00:00
Jim Meyering e3c3d0b385 (parse_ls_color): Use STREQ here instead of strcmp(...) == 0. 1996-06-19 04:22:28 +00:00
Jim Meyering cfda609a21 (selected_fstype, excluded_fstype, show_disk, main):
Use STREQ here instead of strcmp(...) == 0.
1996-06-19 04:21:49 +00:00
Jim Meyering 229598b807 . 1996-06-19 04:17:36 +00:00
Jim Meyering 4c6221ee37 . 1996-06-19 04:14:29 +00:00
Jim Meyering d76f7a7ce4 . 1996-06-19 04:11:32 +00:00
Jim Meyering fc05e28803 (copy_reg): Cast both sides of comparison to size_t to avoid warning
about `comparison between signed and unsigned' from gcc -Wall.
1996-06-19 04:10:17 +00:00
Jim Meyering 0bbec4b26e . 1996-06-19 03:39:00 +00:00
Jim Meyering 93cff2fae1 . 1996-06-19 03:32:08 +00:00
Jim Meyering ec0f2c34d3 (decode_switches): Correct typo in error message:
enironment -> environment.  From Santiago Vila Doncel
<sanvila@unex.es>.
1996-06-19 03:31:59 +00:00
Jim Meyering e26d180b8c (decode_switches): Correct typo in error message: enironment -> environment.
From Santiago Vila Doncel <sanvila@unex.es>.
1996-06-19 03:25:44 +00:00
Jim Meyering cb0cd6afdb . 1996-06-19 03:21:05 +00:00
Jim Meyering b95e3d2f47 (do_copy): Use STREQ here instead of strcmp(...) == 0.
Declare pointer parameters const as appropriate.
1996-06-19 03:19:51 +00:00
Jim Meyering b5eadff384 . 1996-06-19 03:15:58 +00:00
Jim Meyering a0321a68c0 (do_copy): Change message from `missing file argument' to
more precise `missing destination file'.  From Karl Berry.
1996-06-19 02:56:06 +00:00
Jim Meyering 9ed0e96ba7 . 1996-06-19 02:53:14 +00:00
Jim Meyering 087f809fe7 . 1996-06-19 02:52:02 +00:00
Jim Meyering dd6c617d24 . 1996-06-19 02:51:09 +00:00
Jim Meyering b4e8fc709e (STREQ): New macro. 1996-06-19 02:00:24 +00:00
Jim Meyering 487366d091 . 1996-06-19 02:00:16 +00:00
Jim Meyering 6099222717 (do_copy): When the force and backup options have been
specified and the source and destination are the same name for an
existing, regular file, convert the user's command, e.g.
`cp --force --backup foo foo' to `cp --force foo fooSUFFIX'
where SUFFIX is determined by any version control options used.
At urging of (most recently) Karl Berry.
1996-06-19 01:59:12 +00:00
Jim Meyering 608e780536 . 1996-06-19 01:48:25 +00:00
Jim Meyering 0f73666749 . 1996-06-19 01:41:35 +00:00
Jim Meyering e72e877181 . 1996-06-16 18:52:46 +00:00
Jim Meyering 4063f0aea3 . 1996-06-16 18:49:50 +00:00
Jim Meyering 0c8d33de03 . 1996-06-16 18:49:08 +00:00
Jim Meyering e94070eb22 . 1996-06-16 18:48:30 +00:00
Jim Meyering 8aef0cde12 . 1996-06-16 18:47:38 +00:00
Jim Meyering d355dcec62 (EXTRA_DIST): Add texinfo.tex. But it will
be removed once automake is fixed to add it automatically.
1996-06-16 18:47:30 +00:00
Jim Meyering c0a9e11235 . 1996-06-16 18:41:48 +00:00
Jim Meyering 8469bec1cc . 1996-06-16 03:23:53 +00:00
Jim Meyering 28a71c3409 . 1996-06-16 03:23:06 +00:00