You make some good points about the behavior of -eq.
I think these kind of trade offs are part of being a shell. Relaxing the type strictness is intended to make interactive use easier. It is debatable whether the additional complexity is justified.
It's still decent enough for scripting, and for anything beyond plumbing there is .NET
I think these kind of trade offs are part of being a shell. Relaxing the type strictness is intended to make interactive use easier. It is debatable whether the additional complexity is justified.
It's still decent enough for scripting, and for anything beyond plumbing there is .NET