From b8a25a12eca3fb0236ced42bcf78d244ee7103ae Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 1 Aug 2018 06:39:58 +0000 Subject: [PATCH] Update a comment to include -delete, -execdir, -ls and -print0 among the primaries that do not imply -print. From Kris Katterjohn, thanks! ok jmc --- usr.bin/find/find.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/usr.bin/find/find.c b/usr.bin/find/find.c index e8f3db9f046..b364508c039 100644 --- a/usr.bin/find/find.c +++ b/usr.bin/find/find.c @@ -1,4 +1,4 @@ -/* $OpenBSD: find.c,v 1.22 2017/01/04 09:21:26 tb Exp $ */ +/* $OpenBSD: find.c,v 1.23 2018/08/01 06:39:58 tb Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -86,9 +86,10 @@ find_formplan(char **argv) } /* - * if the user didn't specify one of -print, -ok or -exec, then -print - * is assumed so we bracket the current expression with parens, if - * necessary, and add a -print node on the end. + * if the user didn't specify one of -delete, -exec, -execdir, + * -ls, -ok, -print or -print0, then -print is assumed so we + * bracket the current expression with parens, if necessary, + * and add a -print node on the end. */ if (!isoutput) { if (plan == NULL) { -- 2.20.1