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

In some older versions of bash, when dealing with process substitution, you actually needed the dash.

For example

    get_data | tee >(cmd)
    get_data | tee >(cat | cmd)
would fail but

    get_data | tee >(cat - | cmd)
would succeed.


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

Search: