News for hackers. Stuff that matters.
Re:Mastering Bash and Terminal by pmoriarty on Sunday January 15, 2017 @01:43PM (#13405560)
zsh never claimed it was compatible with bash. I'm not sure where you got that impression from. Maybe you're thinking of sh -- the bourne shell -- which zsh is in fact compatible with (as long as you limit your scripts to the bourne shell subset of zsh).
Re:Mastering Bash and Terminal by erikb on Monday January 16, 2017 @03:53AM (#13408882)
I'm not sure, where I've read it specifically, but it was a feature I was looking fore before switching to zsh about 5 years ago. What I found now is this: https://wiki.archlinux.org/index.php/zsh

Anyways. The core point is that compatibility often means compatible in 90%-99% of the cases. It's really really hard to be 100% compatible, which also requires one to emulate bugs etc.

Re:Mastering Bash and Terminal by pmoriarty on Tuesday January 17, 2017 @02:59PM (#13420626)
The web page you link to is mistaken. The zsh command "emulate sh" does not emulate bash. As the name says, it emulates sh, which is the bourne shell -- not bash.