On Thu, May 17, 2018 at 05:57:20PM -0400, John Ericson wrote:

> The 4th and last rule is the trickiest, and most fuzzy human. If the
> basic_machine was left as as, or appended with a vendor, I
> considered the pattern less an alias, and more a defaulting of a
> canonical or near canonical name. This seemed like a "higher
> quality" short-hand and thus one that is valid as part of a larger
> config. Instead of just hard-assigning `os`, however, I changed it
> to default `os` with
> 
>       os=${os:-DEFAULT}

${parameter:-word} is in POSIX, but I don't know how portable it is to
old Bourne shells.  Paul?

Cheers,
Ben

_______________________________________________
config-patches mailing list
config-patches@gnu.org
https://lists.gnu.org/mailman/listinfo/config-patches

Reply via email to