murphyslaw
Joined 8 years ago
Karma
58
Submissions
50
Member since
May 5
About 50 I guess
View on Hacker NewsJoined 8 years ago
# echo 1 >&2 2>| echo
[1]: https://www.oreilly.com/library/view/essential-system-admini...
Never ever write code that assumes this. These dev shorthands are Linux specific, and you'll even need a certain minimum Linux version.
I cringe at the amount of shell scripts that assume bash is the system interpreter, and not sh or ksh.
Always assume sh, it's the most portable.
Linux != Unix.