[arch-projects] [dbscripts] [PATCH v2 1/5] Use even more bashisms.

Eli Schwartz eschwartz at archlinux.org
Tue Feb 20 18:03:19 UTC 2018


On 02/20/2018 12:24 PM, Emil Velikov wrote:
> Seems like I wasn't clear enough:
> The goal is not to appease zsh - but a step closer to POSIX sh friendly.
> 
> I've been staring and writing bash (closer to POSIX sh really) scripts
> for over a decade, haven't seen what makes X cleaner over Y.
> Yet that's subjective, unlike the original argument - consistency rules ;-)

If you're working for "POSIX sh friendly", why are you mentioning zsh in
the first place?

As for targeting POSIX sh, if you can do that then sure. I have personal
scripts written for sh when it makes sense (and my /bin/sh is symlinked
to dash, so I actually use sh).

But yeah, consistency rules.

-- 
Eli Schwartz
Bug Wrangler and Trusted User

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-projects/attachments/20180220/c02f6b15/attachment-0001.asc>


More information about the arch-projects mailing list