From: Chad Perrin Date: 2011-06-18T04:00:37+09:00 Subject: Re: get execution name of program --ibTvN161/egqYuK8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 18, 2011 at 03:55:40AM +0900, Matthew K. Williams wrote: >=20 > If you're wanting it for a --help usage, then why not use the old > hardlink trick? Create hardlinks for the various "aliases" you'd > invoke this as, then $0 will be set appropriately. This is for general usage, when I will be allowing wide distribution of a program, and not limited to circumstances where I control the environment in which it is deployed. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --ibTvN161/egqYuK8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk37oL4ACgkQ9mn/Pj01uKXvGwCeKXB3AXiAHnq/pl1fY1magboC hikAoPY4cw1d5hn+HNOTK7f/zJj+e/Ut =8XD7 -----END PGP SIGNATURE----- --ibTvN161/egqYuK8--