Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

    $ bash -ec 'BAR="pre $(someCommand) post"; echo hi'
    bash: someCommand: command not found
    $
I get the same behavior in bash, zsh, dash, and busybox sh. shbot says the same for bash versions since 1.14, ksh, and even the original bourne shell (modified to use ` instead of $()).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: