79084983

Date: 2024-10-14 06:50:13
Score: 2
Natty:
Report link

GNU coreutils version of 'tr' supports the following syntax:

To lower:

$ echo ABC | tr '[:upper:]' '[:lower:]'
abc

To upper:

$ echo abc | tr '[:upper:]' '[:lower:]'
ABC

I think is the easiest way.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jorge Martinez