bare parens in sh-style languages generally mean run it in a subshell, or an error.
old idiomatic way: $ tar cf - . | (cd /somewhere; tar xf -)
is roughly a shortcut for: $ tar cf - . | sh -c "cd /somewhere; tar xf -"
the only time you should be seeing ( or ) in setting a path variable, is if you want to do something like $ PATH="$(pwd)/bin:$PATH"; export PATH .
__________________
My Journal
Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
|