On Wed, Jun 30, 2021 at 11:59 AM Alexey Dokuchaev <da...@freebsd.org> wrote:

> On Wed, Jun 30, 2021 at 05:20:46PM +0000, Warner Losh wrote:
> > commit 3f197b101f71ee4f4949c53bf330f61b43749ce9
> >
> >     release: Remove C-like string comparison operator
> >
> >     Per [(1), i.e. test(1), the string comparison operator should be `=`,
> >     not `==` in sh(1) scripts.
> >
> >     No functional change. FreeBSD's test accepts `==` as an alias for `=`
> >     for compatibility with gnu test's `==` extension.
>
> Nice, thanks, but why didn't you remove those needless quotes around
> static stings, e.g. "GPT" -> GPT?
>

Sure, that could also be done. However, I'll leave it to the re@ team. It
works
either way, and I've seen both styles in the tree (and outside it  as well).

Warner
_______________________________________________
dev-commits-src-main@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"

Reply via email to