From owner-freebsd-hackers Fri May 11 20:33:25 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by hub.freebsd.org (Postfix) with ESMTP id 0568E37B43F; Fri, 11 May 2001 20:33:22 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.11.3/8.11.3) with ESMTP id f4C3XEB47480; Fri, 11 May 2001 23:33:14 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20010512010319.B3B893E0B@bazooka.unixfreak.org> References: <20010512010319.B3B893E0B@bazooka.unixfreak.org> Date: Fri, 11 May 2001 23:33:12 -0400 To: Dima Dorfman , hackers@FreeBSD.ORG From: Garance A Drosihn Subject: Re: xargs(1) "replstr" patch Cc: gad@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 6:03 PM -0700 5/11/01, Dima Dorfman wrote: >Comments? Suggestions? The one oddity I forgot to ask Dima about was in the man page. We included an example, which in nroff source is: >+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 I keep meaning to test this on -current, but my freebsd-current box is at home, and I never remember to try this when I get home. But at least on -stable, it seems that ANYTHING I put after the 'cp -rp' gets translated into '/bin/ls0 0/bin/ls1'. This seems odd to me, but then I don't really know what any of the nroff macros are doing. (insert weak smiley here) -- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message