Re: exporting variable via variable requires more quotes than normal

2006-06-27 Thread Chet Ramey
Mike Frysinger wrote: > is this a bug or feature ? i never know with bash :) > > $ echo "HI THERE" > foo > $ export f=$( $ echo $f > HI THERE > $ export v=f > $ export ${v}=$( $ echo $f > HI > $ export ${v}="$( $ echo $f > HI THERE It's a feature. Since `export' and its sibling builtins essenti

exporting variable via variable requires more quotes than normal

2006-06-27 Thread Mike Frysinger
is this a bug or feature ? i never know with bash :) $ echo "HI THERE" > foo $ export f=$( pgpqgaD69pcQP.pgp Description: PGP signature ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash