Re: Portability of $(expr) vs `expr` in bash
- From: Leonard den Ottolander <leonard den ottolander nl>
- To: MC Devel <mc-devel gnome org>
- Subject: Re: Portability of $(expr) vs `expr` in bash
- Date: Sat, 30 Jul 2005 12:09:36 +0200
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]