[ale] Stupid Question on ksh script

Lists lists at serioustechnology.com
Tue Mar 11 14:55:14 EDT 2014


${0#/} strips a leading /

Geoffrey Myers

> On Mar 11, 2014, at 2:41 PM, Lists <lists at serioustechnology.com> wrote:
> 
> echo ${0#/}
> 
> echo ${0}
> 
>  
> 
> Note that ${0} might NOT be the actual program if this is calling a function within the program.
> 
>  
> 
> Does the interpreter line at top of script specify ksh or bash or sh?  If sh what is that
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20140311/0ac1ef36/attachment.html>


More information about the Ale mailing list