aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/find/ls.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2001-05-03 18:05:35 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2001-05-03 18:05:35 +0000
commitea92232a82ea162614c49a396cc18e3a7c1b8e5c (patch)
treee8f0dc285279beeffb244a282e0daf9b786ef7c2 /usr.bin/find/ls.c
parent96fc25ff5ebcf760b84ee81ad4bdcfa035556b7c (diff)
downloadsrc-ea92232a82ea162614c49a396cc18e3a7c1b8e5c.tar.gz
src-ea92232a82ea162614c49a396cc18e3a7c1b8e5c.zip
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>
Notes
Notes: svn path=/head/; revision=76250
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 cd138f5b480c..d033973fcd47 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,