The POSIX standard does not appear to support -r lowercase (so don't use it!):

https://pubs.opengroup.org/onlinepubs/9799919799/utilities/c...

https://pubs.opengroup.org/onlinepubs/9799919799/utilities/

Edit: adjusted to the latest version of the standard.