First of all i've found little problems in the error handling of invalid expressions using separators. In all the following expression the return value and the display are invalid.
$ ls ;; exit 42
$ || exit 42
$ && exit 42
$ ls ||| exit 42
$ ls &&& exit 42
First of all i've found little problems in the error handling of invalid expressions using separators. In all the following expression the return value and the display are invalid.
Originally posted by @pablo-lamtenzan in https://github.com/pablo-lamtenzan/miniShell/issues/21#issuecomment-737179847