Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2001 20:37:30 -0700
From:      Dima Dorfman <dima@unixfreak.org>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: xargs(1) "replstr" patch 
Message-ID:  <20010512033730.E8F2E3E0B@bazooka.unixfreak.org>
In-Reply-To: <p05100e05b7225a189fa3@[128.113.24.47]>; from drosih@rpi.edu on "Fri, 11 May 2001 23:33:12 -0400"

next in thread | previous in thread | raw e-mail | index | archive | help
Garance A Drosihn <drosih@rpi.edu> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010512033730.E8F2E3E0B>