Donnie Berkholz wrote:
On 13:34 Fri 05 Oct , Steve Long wrote:
In actual fact, I'd be more likely to use parameter expansion than set,
eg: spec=${CHOST#*-*-} # chop first two fields off so spec is fields 3 on
spec=${spec%%-*} # chop all but first off so left with just field 3
..which I
On 00:41 Sat 06 Oct , Steve Long wrote:
Donnie Berkholz wrote:
On 13:34 Fri 05 Oct , Steve Long wrote:
In actual fact, I'd be more likely to use parameter expansion than set,
eg: spec=${CHOST#*-*-} # chop first two fields off so spec is fields 3 on
spec=${spec%%-*} # chop all but