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

It's why I prefer to use &> and |&

Now the article tells me not to use them, but the justification [1] is a broken link. I assume [2] is the correct link, but the justification there is not convincing to me. It says other shells that don't implement them parse them differently, which is tautologically correct, and is also already the case for every other non-POSIX feature in bash and every other shell. So I'm not sure why these two operators should be treated differently.

[1]: https://wiki.bash-hackers.org/howto/obsolete

[2]: https://wiki.bash-hackers.org/scripting/obsolete



See also: Zsh.

POSIX compatibility is a great thing to have available, when you need it. But my personal scripts and one-offs do not need to be POSIX-compatible!




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

Search: