From owner-freebsd-hackers Fri May 11 20:37:33 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bazooka.unixfreak.org (bazooka.unixfreak.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id 67FA837B423 for ; Fri, 11 May 2001 20:37:31 -0700 (PDT) (envelope-from dima@unixfreak.org) Received: from spike.unixfreak.org (spike [63.198.170.139]) by bazooka.unixfreak.org (Postfix) with ESMTP id E8F2E3E0B; Fri, 11 May 2001 20:37:30 -0700 (PDT) To: Garance A Drosihn Cc: hackers@FreeBSD.ORG Subject: Re: xargs(1) "replstr" patch In-Reply-To: ; from drosih@rpi.edu on "Fri, 11 May 2001 23:33:12 -0400" Date: Fri, 11 May 2001 20:37:30 -0700 From: Dima Dorfman Message-Id: <20010512033730.E8F2E3E0B@bazooka.unixfreak.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Garance A Drosihn writes: > At 6:03 PM -0700 5/11/01, Dima Dorfman wrote: > >+For example, the following command will copy the list of files and > >+directories which start with an uppercase letter in the current > >+directory to > >+.Pa destdir : > >+.Pp > >+.Dl /bin/ls -1d [A-Z]* | xargs -J [] cp -rp [] destdir > >+.Pp > > When I install this man page on -stable, and do a 'man xargs', > that last line is displayed to the user as: > > /bin/ls -1d [A-Z]* | xargs -J [] cp -rp /bin/ls0 0/bin/ls1 That's because it uses more than 8 arguments to ".Dl". Old versions of mdoc (read: anything before about a month ago) had a silly limit on the number of arguments. This isn't a problem on any recent -current or -stable. Dima Dorfman dima@unixfreak.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message