Date: Thu, 27 Oct 2016 20:30:40 -0500 From: Tim Daneliuk <tundra@tundraware.com> To: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Interesting $0 Problem Message-ID: <b859f7a3-51d1-06f4-e793-332edd212068@tundraware.com>
next in thread | raw e-mail | index | archive | help
I was fidding with some shell code today and discovered it was breaking because $0 was returning "-/usr/local/bin/bash". Why is there a leading dash here? I've not seen that before. -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b859f7a3-51d1-06f4-e793-332edd212068>