Re: Portability of $(expr) vs `expr` in bash



Hi wwp,

On Fri, 2005-07-29 at 08:53, wwp wrote:
> If your concern is "bash" only:

Yes. Although I somewhat presumptuously assumed /bin/sh == bash. Not
sure if that is too presumptuous, or that this assumption is shared
throughout the code base.

> How old are the bash versions that don't support $(expr)?

Are there ways to use macros in .sh.in files to substitute with either
'`' & '`' or '$(' & ')'?

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]