Naively, I expect that

    FOO="$( command2 )"
    command1 $FOO

has the same effect as

    command1 $( command2 )

and

    FOO="$( command2 )"
    command1 "$FOO"

has the same effect as

    command1 "$( command2 )"

Has anyone pushed the boundaries of this and can tell me whether there
are gotchas?

Dale

Reply via email to