Date: Wed, 21 Jul 2010 15:44:07 +0200 From: Dominic Fandrey <kamikaze@bsdforen.de> To: Sean <sean@gothic.net.au> Cc: Doug Barton <dougb@FreeBSD.org>, Joe <joeb_722@comclark.com>, freebsd-ports@freebsd.org, Peter Jeremy <peterjeremy@acm.org>, Janne Snabb <snabb@epipe.com> Subject: Re: [new port] usage of shar command Message-ID: <4C46F9A7.3050500@bsdforen.de> In-Reply-To: <5554CEAC-E199-4CBF-943B-D2C5C143E2F7@gothic.net.au> References: <4C42CFDA.3040409@comclark.com> <4C42D292.208@infracaninophile.co.uk> <4C4388D2.30200@comclark.com> <alpine.BSF.2.00.1007190216290.9805@tiktik.epipe.com> <20100720190602.GA32624@server.vk2pj.dyndns.org> <alpine.BSF.2.00.1007201343310.1689@qbhto.arg> <4C465E14.1060300@comclark.com> <4C46EE76.10206@bsdforen.de> <5554CEAC-E199-4CBF-943B-D2C5C143E2F7@gothic.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On 21/07/2010 15:31, Sean wrote: > > On 21/07/2010, at 10:56 PM, Dominic Fandrey wrote: > >> On 21/07/2010 04:40, Joe wrote: >>> Doug Barton wrote: >>>> On Wed, 21 Jul 2010, Peter Jeremy wrote: >>>> >>>>> The major problems with backticks is that they tend to be inconspicuous >>>>> (and easily confused with bits of dust or fly-droppings) and are often >>>>> difficult to distinguish from quotes. >>>>> >>>>> Rather than write "`find port_dir` (note the backticks)", IMO, it is >>>>> far easier to write $(find port_dir) - which is syntactically the >>>>> same but visually more obvious. >>>> >>>> That's a fair point. Do you think that the text as it currently exists >>>> is sufficiently clear, or do you think that it still needs the >>>> modification you're suggesting? I'm happy to make the change (or >>>> someone else can if they so desire) if that's what people thing is the >>>> right way to go. >>>> >>>> >>>> Doug >>>> >>> The text as its currently exists is a long way from being clear to a >>> first timer. And I am talking about the new change that just went in. >>> >>> "shar `find port_dir` (note the backticks)", >>> >>> or >>> >>> "shar $(find port_dir)" >> >> This one doesn't work in (t)csh, the backticks do. >> >>> both address the problem nicely. >>> >>> By all means go and make the correction. >> >> Object! >> > > > find port_dir -print0 | xargs -0 -x shar > > Though it doesn't help when you've got too many files. Then you're probably better off with the tar command to generate shar files. I know how to use shar. :) But I think the Handbook should have examples that work in the default shell. Regards -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C46F9A7.3050500>