Interesting $0 Problem

Tim Daneliuk tundra at tundraware.com
Fri Oct 28 01:36:29 UTC 2016


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 at tundraware.com
PGP Key:         http://www.tundraware.com/PGP/



More information about the freebsd-questions mailing list