check variable content size in sh script

Quartz quartz at sneakertech.com
Sat May 18 23:54:18 UTC 2013


>#foo works with sh

Is it actually part of the official spec though is what I'm wondering, 
or is it a case of other shells not rejecting 'advanced' statements when 
running in emulation.


> At least FreeBSD's implementation of sh (which is ash, I think)
> supports the # functionality.

The reason I say all this is that my copy of tcsh (on this not-freebsd 
machine) *doesn't* work with this when in sh emulation.

______________________________________
it has a certain smooth-brained appeal


More information about the freebsd-questions mailing list