summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-11-06*** empty log message ***Jim Meyering
2002-11-06(printf invocation): Fix typo in index: change \0x prefix to \x.Jim Meyering
Change \xhhh to \xhh.
2002-11-06*** empty log message ***Jim Meyering
2002-11-06Add support for locale-specific size indications (e.g.,Jim Meyering
thousands-separators) and for explicit size suffixes on output. (Block size): Say that: This affects display format as well as block size. Fractional block counts are rounded up. ls file size blocksize defaults to 1. A block size spec preceded by ' generates thousands separators. A suffix without a preceding integer generates suffixes. (tail invocation): 32k -> 32 KiB. (What information is listed): ls -h is now equivalent to ls --block-size=human, and ls -H is now equivalent to ls --block-size=si. Displayed file size is now always affected by --block-size.
2002-11-06*** empty log message ***Jim Meyering
2002-11-06(usage): Update description.Jim Meyering
2002-11-06*** empty log message ***Jim Meyering
2002-11-06(TESTS): Add printf-hex.Jim Meyering
2002-11-06*** empty log message ***Jim Meyering
2002-11-06Be careful to test the code in this package, not the shell built-in function.Jim Meyering
2002-11-06*** empty log message ***Jim Meyering
2002-11-06Make sure that only two of the `H's in \xHHH are consumedJim Meyering
as part of the \x escape sequence.
2002-11-06(print_esc): Hexadecimal \xhh escapes may haveJim Meyering
at most two hex. digits, not three.
2002-11-05(inttostr): Remove; use new imaxtostr library function instead.Jim Meyering
2002-11-05(checkfp): Use primitives from inttostr.h, not human.h,Jim Meyering
to print large numbers simply.
2002-11-05(bsd_sum_file, sysv_sym_file):Jim Meyering
Use primitives from inttostr.h, not human.h, to print large numbers simply.
2002-11-05(xlseek):Jim Meyering
Use primitives from inttostr.h, not human.h, to print large numbers simply.
2002-11-05(write_counts, wc):Jim Meyering
Use primitives from inttostr.h, not human.h, to print large numbers simply.
2002-11-05(dopass):Jim Meyering
Use primitives from inttostr.h, not human.h, to print large numbers simply. (OUTPUT_BLOCK_SIZE): remove. (dopass): When printing progress, use floor for what has been done so far (since we should be conservative there), and ceiling for what needs to be done (since that's what other programs use).
2002-11-05(print_factors):Jim Meyering
Use primitives from inttostr.h, not human.h, to print large numbers simply.
2002-11-05(print_stats, main):Jim Meyering
Use primitives from inttostr.h, not human.h, to print large numbers simply.
2002-11-05(handle_line_error, parse_patterns):Jim Meyering
Use primitives from inttostr.h, not human.h, to print large numbers simply.
2002-11-05(cksum): Use primitives from inttostr.h, notJim Meyering
human.h, to print large numbers simply.
2002-10-19*** empty log message ***Jim Meyering
2002-10-19(cwrite): Change type of `bytes' parameter to size_tJim Meyering
Remove now-useless cast. (stdread): Remove function. (bytes_split): Use size_t instead of int. Use safe_read, not stdread. (lines_split): Likewise. Use memchr rather than a `while' loop. (line_bytes_split): Use size_t instead of int. Use safe_read, not stdread. (main): Add some FIXME comments to remind me to remove casts.
2002-10-19*** empty log message ***Jim Meyering
2002-10-19Rewrite to support locale-specificJim Meyering
notations like thousands separators. Specify what includer of include.h must include beforehand. (human_group_digits, human_suppress_point_zero, human_autoscale, human_base_1024, human_SI, human_B): New enum values. (human_readable): Rename from human_readable_inexact; put the options before the sizes. All uses changed. The old human_readable function has been removed; use inttostr.h instead. (human_options): Renamed from human_block_size, with new signature that allows block sizes up to UINTMAX_MAX. All callers changed.
2002-10-19*** empty log message ***Jim Meyering
2002-10-19*** empty log message ***Jim Meyering
2002-10-19(libfetish_a_SOURCES): Add imaxtostr.c, offtostr.c, umaxtostr.c.Jim Meyering
(EXTRA_DIST): Add inttostr.c.
2002-10-19New files. From GNU tar.Jim Meyering
2002-10-19*** empty log message ***Jim Meyering
2002-10-19*** empty log message ***Jim Meyering
2002-10-19(print_heading): Align TTY and Name headings.Jim Meyering
2002-10-18*** empty log message ***Jim Meyering
2002-10-18(ST_BLKSIZE): Correct comment describing how toJim Meyering
reproduce HPUX-11 cat failure.
2002-10-17*** empty log message ***Jim Meyering
2002-10-17*** empty log message ***Jim Meyering
2002-10-17Fix a problem that could make cat misbehave on systems whichJim Meyering
give invalid (unreasonably large) values for stat.st_blksize. (ST_BLKSIZE): Ensure that the result is in [1..4MB].
2002-10-15bump to 4.5.4Jim Meyering
2002-10-14*** empty log message ***Jim Meyering
2002-10-14.Jim Meyering
2002-10-14*** empty log message ***Jim Meyering
2002-10-14Specifying a printf conversion specifer as nl's separator stringJim Meyering
could cause nl to segfault. (build_print_fmt): Don't include separator string in the printf format; it might contain `%'. Use a better bound on the length of the print_fmt buffer. (print_lineno): Print the separator here instead.
2002-10-14*** empty log message ***Jim Meyering
2002-10-14*** empty log message ***Jim Meyering
2002-10-14(TESTS): Add nl.Jim Meyering
2002-10-14*** empty log message ***Jim Meyering
2002-10-13*** empty log message ***Jim Meyering
2002-10-13New test, to make sure `split --lines=N' works.Jim Meyering