#define MAXDEPTH 1024
#define CSUMXL 32
-static int quiet=0, hidectime=0;
+static int quiet=0, hidectime=0, filenamefieldsep=' ';
static FILE *errfile;
static void fn_escaped(FILE *f, const char *fn) {
else linktarg[r]= 0;
}
- printf(" %10lu %4d %4o %10ld %10ld %10lu %10lu ",
+ printf(" %10lu %4d %4o %10ld %10ld %10lu %10lu",
(unsigned long)stab->st_size,
(int)stab->st_nlink,
(unsigned)stab->st_mode & 07777U,
(unsigned long)stab->st_atime,
(unsigned long)stab->st_mtime);
if (!hidectime)
- printf("%10lu ",
+ printf(" %10lu",
(unsigned long)stab->st_ctime);
+ putchar(filenamefieldsep);
fn_escaped(stdout, path);
if (S_ISLNK(stab->st_mode)) {
case 'q':
quiet= 1;
break;
+ case 't':
+ filenamefieldsep= '\t';
+ break;
case 'C':
hidectime= 1;
break;