[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Stupid Question on ksh script



${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>