From 709761941b06908fff7c74f077d545f1eeaf2ab3 Mon Sep 17 00:00:00 2001 From: Giorgos Keramidas Date: Thu, 5 May 2005 09:47:58 +0000 Subject: [PATCH] Delete the '{}' argument from an invocation of xargs(1). When the output of find(1) is piped into xargs (instead of being passed to -exec cmd), there's no need for that. PR: docs/80649 Submitted by: Vasil Dimov --- en_US.ISO8859-1/books/porters-handbook/book.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en_US.ISO8859-1/books/porters-handbook/book.sgml b/en_US.ISO8859-1/books/porters-handbook/book.sgml index 324343cde2..85221b5331 100644 --- a/en_US.ISO8859-1/books/porters-handbook/book.sgml +++ b/en_US.ISO8859-1/books/porters-handbook/book.sgml @@ -694,7 +694,7 @@ PLIST_DIRS= lib/X11/oneko post-extract: @${FIND} -E ${WRKDIR} -type f -iregex ".*\.(c|cpp|h|txt)" -print0 | \ - ${XARGS} -0 ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' '{}' \; + ${XARGS} -0 ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' Of course, if you need to process each and every file, above can be omitted. Be aware that this