Jim Meyering
3507d9868f
*** empty log message ***
2003-01-31 18:28:43 +00:00
Jim Meyering
4686f1f3fd
Include "file-type.h"
...
(print_human_type): Remove function.
(human_access): Rename from print_human_access. Return a string.
(human_time): Rename from print_human_time. Return a string.
(print_stat): Arrange so that field width and an alignment specifier
are honored for the %A, %F, %x, %y, and %z formats.
[%F]: Use file_type; this gives slightly different file type strings,
e.g., `directory' instead of `Directory' and `regular file' or
`regular empty file' instead of `Regular file'.
2003-01-31 18:28:39 +00:00
Jim Meyering
fb9e95e6c3
(print_stat): Use S_ISLNK rather than an explicit
...
test using S_IFMT and S_IFLNK. S_IFLNK may not be defined.
2003-01-31 13:52:18 +00:00
Jim Meyering
d060450cc8
*** empty log message ***
2003-01-31 13:37:16 +00:00
Jim Meyering
d85b93c0fb
ditto for invalid options
2003-01-31 13:37:08 +00:00
Jim Meyering
4bee27ae43
(main): Upon processing a bad --exclude-from or --max-depth
...
option argument, don't exit right away, in case there are others.
Rather record the failure and exit after processing other options.
2003-01-31 13:35:25 +00:00
Jim Meyering
aaf8697ee9
*** empty log message ***
2003-01-31 10:43:35 +00:00
Jim Meyering
d92da7460e
(TAR_OPTIONS): Set and export, in order to make
...
tar archive easier to reproduce.
2003-01-31 10:43:29 +00:00
Jim Meyering
3f026f0448
*** empty log message ***
2003-01-31 10:39:47 +00:00
Jim Meyering
de49951491
Rewrite to perform directory traversal using nftw.
...
Include "dirname.h", "ftw.h", and "quotearg.h".
(AUTHORS): Add self.
(opt_one_file_system): Move global into `main'.
(path, xstat, exit_status): Remove declarations.
(arg_length, suffix_length): New globals.
(G_fail): New global, sort of like the old `exit_status'.
(IS_FTW_DIR_TYPE): Define.
(print_only_size): New function.
(process_file): New function.
(str_init, ensure_space, str_copyc, str_concatc): Remove functions.
(str_trunc, pop_dir, count_entry): Likewise.
(du_files): Rewrite to use nftw.
2003-01-31 10:39:33 +00:00
Jim Meyering
129c735cda
*** empty log message ***
2003-01-30 20:23:29 +00:00
Jim Meyering
9f90080b95
Ensure that with -L we get the same results even without the trailing slash.
2003-01-30 19:40:09 +00:00
Jim Meyering
1c976d1966
get latest
2003-01-30 13:55:20 +00:00
Jim Meyering
c96b23c2ff
*** empty log message ***
2003-01-30 10:42:45 +00:00
Jim Meyering
594fe72be0
no backticks in C comments
2003-01-29 20:52:02 +00:00
Jim Meyering
0267e219b7
*** empty log message ***
2003-01-29 20:36:41 +00:00
Jim Meyering
f5ded0090d
*** empty log message ***
2003-01-29 20:36:18 +00:00
Jim Meyering
651da6950f
*** empty log message ***
2003-01-29 20:20:40 +00:00
Jim Meyering
a3d30ef951
Detect broken re_search in e.g. glibc-2.2.93.
2003-01-29 20:20:36 +00:00
Jim Meyering
1c5a98512f
.
2003-01-28 17:55:23 +00:00
Jim Meyering
88b5eb8ef1
.
2003-01-28 17:54:46 +00:00
Jim Meyering
09b1a0014b
comments
2003-01-28 17:40:56 +00:00
Jim Meyering
77e740fff6
*** empty log message ***
2003-01-27 18:06:38 +00:00
Jim Meyering
fd51c35ed6
*** empty log message ***
2003-01-27 18:04:46 +00:00
Jim Meyering
3ba60a0bc5
add comments
2003-01-27 15:16:01 +00:00
Jim Meyering
96332f0a7e
(FTW_DCH, FTW_DCHP): Better comments.
2003-01-27 15:00:22 +00:00
Jim Meyering
336827087f
(quote_name): Add fourth parameter, width, into which to
...
store the screen columns, and return the number of bytes instead.
(print_dir): Pass NULL as fourth parameter of quote_name.
(print_name_with_quoting): Likewise.
(length_of_file_name_and_frills): Get the width from the fourth
parameter of quote_name instead of return value.
2003-01-27 13:42:26 +00:00
Jim Meyering
b9f33a9f76
*** empty log message ***
2003-01-27 13:40:47 +00:00
Jim Meyering
d28d7b1814
(check-misc): Check for st_blocks, too.
2003-01-27 13:40:43 +00:00
Jim Meyering
88a5f079b4
(print_stat): Use ST_NBLOCKS rather than `->st_blocks'.
2003-01-27 13:32:44 +00:00
Jim Meyering
2a22320430
.
2003-01-27 13:26:45 +00:00
Jim Meyering
3ab066a0d6
*** empty log message ***
2003-01-27 10:45:51 +00:00
Jim Meyering
7f93a5421a
(decode_switches): If `dired' is set without
...
`format == long_format', then silently reset dired. This doesn't
change the behavior of ls (all prior uses of dired were protected
by `&& format == long_format'), and lets us...
(DIRED_INDENT): ... remove `format == long_format' conjunct.
(PUSH_CURRENT_DIRED_POS): Likewise.
(main): Likewise.
2003-01-27 10:45:48 +00:00
Jim Meyering
ab43d63c3a
*** empty log message ***
2003-01-26 11:05:46 +00:00
Jim Meyering
fe443ea297
*** empty log message ***
2003-01-26 11:03:44 +00:00
Jim Meyering
91b31aa87c
[_LIBC] (ISSLASH, FILESYSTEM_PREFIX_LEN): Define.
...
(base_name): New function.
(ftw_startup): Don't strip trailing slashes.
Use base_name to find the offset of the basename.
2003-01-25 20:32:44 +00:00
Jim Meyering
431d1b6241
(object_compare): Compare inode numbers before device numbers.
...
The former is much more likely to differ for any two given file objects.
2003-01-25 16:44:07 +00:00
Jim Meyering
29faf21e94
*** empty log message ***
2003-01-25 16:31:35 +00:00
Jim Meyering
68c1da4150
(cut invocation): Describe new functionality of --output-delimiter=STR.
2003-01-25 16:31:23 +00:00
Jim Meyering
d8ab1cdcfb
.
2003-01-25 08:00:05 +00:00
Jim Meyering
b998bbef74
Tweak mysql output to match input :-) From Jan.
2003-01-24 14:58:38 +00:00
Jim Meyering
cae8997185
*** empty log message ***
2003-01-24 14:49:47 +00:00
Jim Meyering
2c4d6da0a4
*** empty log message ***
2003-01-24 13:49:41 +00:00
Jim Meyering
588979c4ae
Change each use of Core-utils' to
Coreutils'.
2003-01-24 13:49:38 +00:00
Jim Meyering
dcbd546bf2
*** empty log message ***
2003-01-24 13:48:16 +00:00
Jim Meyering
0644a66901
(Formatting file timestamps): Fix typo: s/%M:S/%M:%S/.
2003-01-24 13:48:11 +00:00
Jim Meyering
d57cca6de0
(The cut command): Extend the new example a little.
2003-01-24 13:47:21 +00:00
Jim Meyering
527715894f
(The cut command): Give an example of using cut -c
...
with an output delimiter. From Jan Nieuwenhuizen.
2003-01-24 13:46:28 +00:00
Jim Meyering
37ac1f18f1
*** empty log message ***
2003-01-23 20:49:21 +00:00
Jim Meyering
2cceacc8fc
*** empty log message ***
2003-01-23 20:13:48 +00:00