On Sun January 13 2008 10:59:52 Andreas Berglund wrote:
> I have a script to which I would like to pass an argument that contains
> brace expansion, but I want the expansion to be evaluated in the script,
> not before it gets passed along. Does annyone know how to do that?

Have you tried eval?

  $ echo '$SHELL'
  $SHELL
  $ eval echo '$SHELL'
  /bin/bash

--Mike Bird


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to