I expect that tomorrow I will hear that Canonical will sue me if I publicly say Ubuntu.
case *buntu)
would avoid using their trademark, if you can't just test for Debian derivatives.>You will require Canonical’s permission to use: (i) any mark ending with the letters UBUNTU or BUNTU which is sufficiently similar to the Trademarks or any other confusingly similar mark, and (ii) any Trademark in a domain name or URL or for merchandising purposes
That sounds like it covers *buntu too, unfortunately
Sounds like "buntish" is the best option then, or something like that.
voldemort=$(echo Ubxntx | sed 's/x/u/g')
...
case $voldemort)
and not have an issue. Their trademark exists in computer memory, but not in code at that point.I think if the compiler optimizes that out to not have string replacing (not valid for bash, but for other compiled languages), that makes it more interesting since if they're claiming the compiled unit is of issue, well, that unit now might have the string "Ubuntu" in it depending entirely on optimization.