Re: Should we use [[ or should we use [ when the later will do? (Was: Execution of subsequent commands ...)
"G. Branden Robinson" <[email protected]>
| Newsgroups | gmane.comp.shells.bash.bugs |
|---|---|
| Message-ID | <20260203154531.vjoxvj77bc5nuugl@illithid> |
At 2026-02-03T08:19:47-0700, Stan Marsh wrote: > >On 2/2/26 10:29 PM, Robert Elz wrote: > >> ps: it is really dumb to use bash extensions when standard portable > >> POSIX shell code works equally well, "[[ $? -ne 0 ]]" is not in the > >> slightest different from "[ $? -ne 0 ]" and the latter will work in > >> any shell - so use the latter, not the former. > > I think it is dumb to publicly call another poster "dumb". Robert's from Australia. If you've ever dealt with Aussie in real life, you'd know that whoever he was talking about got off easy. Regards, Branden
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmmCGBMACgkQ0Z6cfXEm bc4FsA/9EMEG7fUtuWQHBk8eYe3Bd5gJRM3icVJFy6vD53q0wImhLIpnZHyyXPOq aejIxOjyG+zUnLT3LG3DEQhcdLmmxGpkCP/PuCQxCl0+oFbDxQWSpa4vLLtjfXGu eWlPxpFA76APkSWk4up6vAFS8beE034iiP9DkAcJ7Z1VD7fI3gXccxb0bZw/l4LY ZH4NphTaKzDLCPaUtXN/s7IDBjviosCc44mBCdAmrgc8hHi/YDUoDD0zgLCfOIGn UsLkdXb7OBSTD11EPh672NkArq5JCeKeuBQAAt1G8Lssv6t/L/ypmUmH7qDRfg4D e2ZNtroo9e6ip8ZhkJc1sXrTGSLrBbLbcJJuFiYUipxkAqX55MXRVD0TrnKCvm8L mcqFttGn01NSBcmY6f37CWU/hPQE8r31MyfR4TiHkHgK81HEU71KeBRyZXhSp+xj saEY/k6/UWaU+n7s5eKQK7uIhlKYNRrJHNJglum8T6ghAMTTKK0vYBcpsgYjatlY Xvq8Z8oMWtEVJXTW/6KF2r4qUYD8E+iiSkaw01JsS1QyyfoccziPfzpu40wuSAc4 /GrRinnO+/Sg++hbY6U1fXaUuerud7GO0CsVLPFP7XIiCNUn9LuoknUjtyXLZ+N0 DCSAD9nQXqBdOcjMR9Bwkj9vitLWO/Uhqk/eStJ0miaW4PffIzA= =FNZM -----END PGP SIGNATURE-----