On Wed, Oct 15, 2008 at 3:25 PM, Henry Vermaak <[EMAIL PROTECTED]>wrote:

>
> yes, i know about that way, since i use bash, but i thought it was
> bash specific?  have you tested with other shells?  you can also use
> "basename" to remove suffixes.
>

Well, the script invokes bash to run itself (the she-bang on the first line
causes this), so it doesn't matter if the user is calling it from some other
shell.

Also "basename" is overkill for removing suffixes (it's actually a separate
program, like sed), and you'd still need to call it twice to remove both
suffixes.

-- 
_| ( ) |-| |\|
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to