summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1996-07-05(usage): Remove space before newline in usage message.Jim Meyering
1996-07-05(usage): Remove space before newline in usage message.Jim Meyering
1996-07-05(usage): Remove space before newline in usage message.Jim Meyering
1996-07-05(usage): Remove space before newline in usage message.Jim Meyering
1996-07-04(split_3): Add missing semicolon. From Jim Blandy.Jim Meyering
1996-07-04(main): Fix typo in last change.Jim Meyering
1996-07-04Make `dir --version' and `vdir --version' print their names, not `ls'.Jim Meyering
Reported by Ulrich Drepper.
1996-07-04(md5_file): Replace obsolete comment with a descriptionJim Meyering
of the function. (md5_check): Don't use "s"-adding trick to form the plural of `checksum.' That doesn't work well with translation. Suggestions from Ulrich Drepper.
1996-07-04(MIN_DIGEST_LINE_LENGTH): New macro.Jim Meyering
[NEWLINE_REPLACEMENT_STRING*]: Remove macros. (main): Output a leading backslash for a line describing a file whose name contains a newline. Then translate each NEWLINE byte in the file name to the string, "\\n", and each backslash to "\\\\". File names that don't contain NEWLINE aren't translated. (split_3): Rewrite to handle file names with embedded newlines. Miles Bader and Jim Blandy suggested this new encoding scheme.
1996-07-04(split_3): Correct test for 35-byte line to accomodateJim Meyering
fact that leading blanks may be stripped.
1996-07-03Include sys/types.h before system.h.Jim Meyering
From Jim Blandy (jimb@cyclic.com).
1996-07-03[!MAXUID]: Define after inclusion of system.h to avoidJim Meyering
warning about redefinition on SunOS4, Solaris2.4 and SGI-irix5.3. From Kaveh Ghazi.
1996-07-03(usage): Add omitted \n\ at the end of a line in the usage message.Jim Meyering
1996-07-03[!EXIT_SUCCESS]: Define it.Jim Meyering
[!EXIT_FAILURE]: Define it.
1996-07-02[NEWLINE_REPLACEMENT_STRING]: Define.Jim Meyering
(split_3): Translate NL bytes not to NUL, but to NEWLINE_REPLACEMENT_STRING. Suggested by Ulrich Drepper. (main): Translate back to NL-containing filename.
1996-07-02(do_link): Update messages to ease translation.Jim Meyering
Suggestion from Santiago Vila.
1996-07-01(main): Remove now-unnecessary diagnostic about filename containing NEWLINE.Jim Meyering
1996-07-01(split_3): Take an additional parameter, S_LEN.Jim Meyering
Adapt caller. Map translated NEWLINE-containing filename back into the original NEWLINE-containing name. (md5_check): Translate NEWLINE bytes to NUL bytes in filename.
1996-06-30(usage): Fix typo, 3nd->3rd, in usage message.Jim Meyering
From Santiago Vila <sanvila@unex.es>.
1996-06-29Remove u from Colour.Jim Meyering
1996-06-29(dc_parse_stream): Move enum states dcl into this function.Jim Meyering
(dc_parse_stream): Remove parameter RESULT. Adapt callers.
1996-06-29(do_link): Allow `ln -sf --backup k k' to succeed in creating theJim Meyering
self-referential symlink, doing so doesn't remove the source but merely renames it.
1996-06-26(do_link): Remove `!symlink &&' conjunct.Jim Meyering
1996-06-26(same_name): Declare parameters to be const.Jim Meyering
1996-06-26(same_name): New function.Jim Meyering
(do_link): Use it to test reliably whether A and B (from ln --force A B) are hard links to the same file. From Andreas Schwab.
1996-06-25(decode_switches): Allow 0 as argument to --tabsize (-T) option.Jim Meyering
Interpret as a directive to use no TAB characters to separate columns. (indent): Handle TABSIZE == 0.
1996-06-25.Jim Meyering
1996-06-25(dc_parse_stream): Give `unrecognized keyword' for misspelledJim Meyering
`TERM' keyword as well as for others.
1996-06-25(dc_parse_stream): Remove spurious newline in error message.Jim Meyering
(dc_parse_file): Remove erroneous test of ERR.
1996-06-24Use an obstack to accumulate value of LS_COLORS.Jim Meyering
1996-06-24.Jim Meyering
1996-06-23Add comma after e.g. in comment.Jim Meyering
From Karl B.
1996-06-23* (parse_line): Rewrite to avoid modifying LINE.Jim Meyering
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-22(main): New option --print (-p).Jim Meyering
Detect write failure. Add --bourne-shell and --c-shell aliases for --sh and --csh resp.
1996-06-22Major overhaul. No longer read from /etc/DIR_COLORS or from ~/.dircolors.Jim Meyering
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-19(parse_ls_color): Use STREQ here instead of strcmp(...) == 0.Jim Meyering
1996-06-19(selected_fstype, excluded_fstype, show_disk, main):Jim Meyering
Use STREQ here instead of strcmp(...) == 0.
1996-06-19(copy_reg): Cast both sides of comparison to size_t to avoid warningJim Meyering
about `comparison between signed and unsigned' from gcc -Wall.
1996-06-19(decode_switches): Correct typo in error message:Jim Meyering
enironment -> environment. From Santiago Vila Doncel <sanvila@unex.es>.
1996-06-19(decode_switches): Correct typo in error message: enironment -> environment.Jim Meyering
From Santiago Vila Doncel <sanvila@unex.es>.
1996-06-19(do_copy): Use STREQ here instead of strcmp(...) == 0.Jim Meyering
Declare pointer parameters const as appropriate.
1996-06-19(do_copy): Change message from `missing file argument' toJim Meyering
more precise `missing destination file'. From Karl Berry.
1996-06-19(STREQ): New macro.Jim Meyering
1996-06-19(do_copy): When the force and backup options have beenJim Meyering
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-02Rename MO_ to SHELLTYPE_.Jim Meyering
1996-06-02Declare pointer parameters const as appropriate.Jim Meyering
1996-06-01(decode_switches): Set print_with_color in one statement.Jim Meyering
1996-06-01Rename options and internal variables to reflect change toJim Meyering
--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-05-31(main): Interpret the old-style +VALUE and -VALUEJim Meyering
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(limfield): #ifdef-out a block of code that makesJim Meyering
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.