Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2010 23:31:51 +1000
From:      Sean <sean@gothic.net.au>
To:        Dominic Fandrey <kamikaze@bsdforen.de>
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:  <5554CEAC-E199-4CBF-943B-D2C5C143E2F7@gothic.net.au>
In-Reply-To: <4C46EE76.10206@bsdforen.de>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

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:
>>>=20
>>>> 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.
>>>>=20
>>>> 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.
>>>=20
>>> 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.
>>>=20
>>>=20
>>> Doug
>>>=20
>> 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.
>>=20
>> "shar `find port_dir` (note the backticks)",
>>=20
>> or
>>=20
>> "shar $(find port_dir)"
>=20
> This one doesn't work in (t)csh, the backticks do.
>=20
>> both address the problem nicely.
>>=20
>> By all means go and make the correction.
>=20
> Object!
>=20


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.

>=20
> Regards
>=20
> --=20
> 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?=20
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to =
"freebsd-ports-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5554CEAC-E199-4CBF-943B-D2C5C143E2F7>