[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Stupid Question on ksh script
- Subject: [ale] Stupid Question on ksh script
- From: lists at serioustechnology.com (Lists)
- Date: Tue, 11 Mar 2014 14:55:14 -0400
- In-reply-to: <[email protected]>
- References: <CAC1vE+bCzWENqmX7oan_=Yttpcf+CYFTtPg94HWXrtYSHoz97Q@mail.gmail.com> <[email protected]> <[email protected]>
${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>