summaryrefslogtreecommitdiffstats
path: root/usr.bin/find/ls.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-05-03 18:05:35 +0000
committerphk <phk@FreeBSD.org>2001-05-03 18:05:35 +0000
commite51263b8a6769bca310145953de7cb2a93696e64 (patch)
tree9eec6ef5730dc41824c3e49c7f3642ecef218180 /usr.bin/find/ls.c
parentd7b11c99fc99c4b8a79d95f29ec61a701a8956f2 (diff)
downloadFreeBSD-src-e51263b8a6769bca310145953de7cb2a93696e64.zip
FreeBSD-src-e51263b8a6769bca310145953de7cb2a93696e64.tar.gz
They add the following commands:
-anewer -cnewer -mnewer -okdir -newer[acm][acmt] With it, you can form queries like find . -newerct '1 minute ago' -print As an extra bonus, the program is ANSI-fied - the original version relies on some obscure features of K&R C. (This PR was submitted in 1999, and the submittor has kept the patch updated ever since, hats off for him guys, and how about you close a PR ??) PR: 9374 Submitted by: Martin Birgmeier <Martin.Birgmeier@aon.at>
Diffstat (limited to 'usr.bin/find/ls.c')
-rw-r--r--usr.bin/find/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/find/ls.c b/usr.bin/find/ls.c
index cd138f5..d033973 100644
--- a/usr.bin/find/ls.c
+++ b/usr.bin/find/ls.c
@@ -65,7 +65,7 @@ printlong(name, accpath, sb)
{
char modep[15], *user_from_uid(), *group_from_gid();
- (void)printf("%6lu %4qd ", (u_long)sb->st_ino, sb->st_blocks);
+ (void)printf("%6lu %4qd ", (u_long) sb->st_ino, sb->st_blocks);
(void)strmode(sb->st_mode, modep);
(void)printf("%s %3u %-*s %-*s ", modep, sb->st_nlink, UT_NAMESIZE,
user_from_uid(sb->st_uid, 0), UT_NAMESIZE,
OpenPOWER on IntegriCloud