Date: Fri, 28 Oct 2016 05:05:54 +0200 From: Alphons van Werven <freebsd@skysmurf.nl> To: Tim Daneliuk <tundra@tundraware.com> Cc: Valeri Galtsev <galtsev@kicp.uchicago.edu>, freebsd-questions@freebsd.org, jd1008 <jd1008@gmail.com> Subject: Re: Interesting $0 Problem Message-ID: <20161028030554.GA94204@spectrum.skysmurf.nl> In-Reply-To: <46f757d3-6b57-b486-0f65-188b702ca97f@tundraware.com> References: <b859f7a3-51d1-06f4-e793-332edd212068@tundraware.com> <20161028014923.GA11638@fedora24> <a6931603-c2b2-1dc7-6997-ae896db90d88@tundraware.com> <5812B617.5070701@gmail.com> <27078.128.135.52.6.1477621835.squirrel@cosmo.uchicago.edu> <20161028024041.GA93243@spectrum.skysmurf.nl> <2b1b598d-2ff1-2fa4-03d1-4771aa6f9c4d@tundraware.com> <46f757d3-6b57-b486-0f65-188b702ca97f@tundraware.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Tim Daneliuk wrote: > Old Dog, New Tricks etc. Thanks for the help :) Perhaps you already knew, but if you wish to obtain the value of $0 with the leading dash (if present) stripped, you can use ${0#-} for that, e.g. FOO=3D${0#-} Fonz --=20 A.J. "Fonz" van Werven <freebsd@skysmurf.nl> mailsig: Help! I'm a prisoner in a Chinese fortune cookie factory. --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJYEsCSAAoJEAfP7gJTaCe8Cy4QANKI1z0ys7jyqtP3UAIzdocS 3B+QkEcZIDylE2y9WCQgoa8mXdw2H8j0EaYoNEj2bvqRp42+jhUi5I9F8y5vuZzu 6FeJKbP/pwCta8zUN7WOQ1aMZMfLni+YufkHgE7T647m69hX7re9VJBMzxJdgMUc Fgba2cRGFVlJYvDWzFaPwzX9Qpu+kGIE3gzEZpUrRzba6/0C9VYrYJ9ZgxWPBUgW wInjXxJXfyLqJRXLui4Xt2vbiq368r8aHp8J2oSXLUbv3O8cGwmYypOq7KAeYzWw sSj8ovBzevDb6dRv02zRSkRLniPt5lspl6EmuB4IubYLAWYS8QMaX1YvATmve9K1 eEh+ppPX1esFmE4YUo3ZlkP/nttwsjA12V2ClNHVpg2OP+V2pWsTn8gNZ/4QBhdF jrUxrZyt+BziIxkthAh/J40j+1bKuPUuccYa1r5p0W9NUNDBlPPmQJil7IBqO95e tsn9xKK/lKVfAvfg+I1BCZ2zEHYDupi7PeO2jXzgZquxSKzX95r4kzqW3e4WmJ/u LEXXw1GpfccRcGSddZl6HiPTTNirgNcHiu2VD8Yi6+b1jXoFZ28KGvPP7gCHRyTZ 8Mfqo44636fykzH1pSJ9fel/A3FGpPLSXT5Zqy43LamOK5WSF4+3ZzCLA8OgYHNf 4G60uO+69tSb6tEMSoz1 =5zFb -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161028030554.GA94204>