Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2013 19:54:15 -0400
From:      Quartz <quartz@sneakertech.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: check variable content size in sh script
Message-ID:  <519814A7.8070702@sneakertech.com>
In-Reply-To: <20130518180634.9e5fd3c2.freebsd@edvax.de>
References:  <5194F65F.6080503@a1poweruser.com> <5194FB0A.9090400@tundraware.com> <13CA24D6AB415D428143D44749F57D7201F4D41F@ltcfiswmsgmb26> <5197998E.6050200@sneakertech.com> <51979A8B.8080703@tundraware.com> <5197A526.7020302@sneakertech.com> <20130518180634.9e5fd3c2.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help

>#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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?519814A7.8070702>