Date: Thu, 03 Jun 2010 17:53:45 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-questions@freebsd.org Subject: Re: command to strip suffix in .sh script Message-ID: <4C07DE19.3090004@infracaninophile.co.uk> In-Reply-To: <20100603231116.5e1ef41f@icy.localdomain> References: <4C06131A.6010107@comclark.com> <20100602082401.GA2876@current.Sisis.de> <4C06169A.9090604@infracaninophile.co.uk> <4C06F680.1000608@palaceofretention.ca> <20100603231116.5e1ef41f@icy.localdomain>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/06/2010 17:11:16, Anh Ky Huynh wrote: > On Wed, 02 Jun 2010 20:25:36 -0400 > Vinny <vinny-mail-01+freebsd20100602@palaceofretention.ca> wrote: >> On 06/02/2010 04:30, Matthew Seaman wrote: >>> archive_name=${fromarchive%-*} >> Thanks Matthew, that's really neat. It took me a long time >> to find the correct google incantation to find the documentation >> for that. ( bourne shell pattern-matching notation ) > In fact I know about that from Bash's documents:) IMHO, there are > more Bash's documents than Bourne's ones. Most of what I know about sh programming is due to close reading of the sh(1) man page and studying examples of periodic and rc scripts and the like. Quantity of documentation really is no substitute for quality. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwH3hkACgkQ8Mjk52CukIwTMACePjyFyiXiEV4pAAOWPZDYI9Zy ApYAn1s91AGLUYwVinrQjSWoxPLp893D =3jcR -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C07DE19.3090004>