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

2005-08-02 Thread Pavel Tsekov
Hello, On Sat, 30 Jul 2005, Leonard den Ottolander wrote: 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

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

2005-07-30 Thread Leonard den Ottolander
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

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

2005-07-29 Thread wwp
Hello Leonard, On Thu, 28 Jul 2005 23:26:18 +0200 Leonard den Ottolander [EMAIL PROTECTED] wrote: Hi, I'm wondering if the usage of $(expr) vs `expr` in bash scripts is portable, ie if we could get rid of all the unnecessary spawning of shells for such expressions by replacing the latter

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

2005-07-28 Thread Leonard den Ottolander
Hi, I'm wondering if the usage of $(expr) vs `expr` in bash scripts is portable, ie if we could get rid of all the unnecessary spawning of shells for such expressions by replacing the latter with the former. Leonard. -- mount -t life -o ro /dev/dna /genetic/research