#foo works with sh


On May 18, 2013 10:58:30 AM Quartz <[email protected]> wrote:

>> newfoo=${foo:0:51}
>>
>
> That works for bash, not sh.

Ok granted, but I don't think that ${#foo} is straight sh either, so I assumed "things bash/tcsh/ksh/whatever accept when running in sh emulation" were ok.

______________________________________
it has a certain smooth-brained appeal
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to