Hacker News new | ask | show | jobs
by mdaniel 1656 days ago
In case it wasn't clear, I modified your DevOps example, so it's not like that code came out of left-field or was hand-crafted to trip you up. If you want to say "it is not good at reasoning about shell, instead focusing on programming languages" that'd be a much more plausible concession

Since you're hanging out here, what is the explanation for how it can say "exit 1 is used to stop any further commands from running." and then carry on?

It's even more bizarre that it (seems to?) understands what "exit 1" does, but only when it is not the first command in the sequence?