case command

Steve O'Hara-Smith steve at sohara.org
Sun Sep 17 14:57:04 UTC 2017


On Sun, 17 Sep 2017 14:50:00 +0000
Manish Jain <bourne.identity at hotmail.com> wrote:

> 
> 
> On 09/17/17 20:12, Ernie Luzar wrote:
> > Looking for a system command that a I can pip a file through to change 
> > all uppercase content to lower case.
> > 
> > Is there such a command line command?
> 
> cat <file> | tr '[:upper:]' '[:lower:]'

	That poor overworked cat :)

tr '[:upper:]' '[:lower:]' < <file>

-- 
Steve O'Hara-Smith <steve at sohara.org>


More information about the freebsd-questions mailing list