Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Sep 2017 10:07:56 -0500
From:      Tim Daneliuk <tundra@tundraware.com>
To:        Manish Jain <bourne.identity@hotmail.com>, "Steve O'Hara-Smith" <steve@sohara.org>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: case command
Message-ID:  <f87f5080-1388-51e2-8093-ee7628df753d@tundraware.com>
In-Reply-To: <VI1PR02MB12002177D7F2E684D387C90AF6620@VI1PR02MB1200.eurprd02.prod.outlook.com>
References:  <59BE89E1.3050209@gmail.com> <VI1PR02MB1200B54F7772D37F6BE020F4F6620@VI1PR02MB1200.eurprd02.prod.outlook.com> <20170917155649.e869897ddcc97c3c9d04929c@sohara.org> <VI1PR02MB12002177D7F2E684D387C90AF6620@VI1PR02MB1200.eurprd02.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 09/17/2017 10:01 AM, Manish Jain wrote:
> 
> 
> On 09/17/17 20:26, Steve O'Hara-Smith wrote:
>> On Sun, 17 Sep 2017 14:50:00 +0000
>> Manish Jain <bourne.identity@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>
>>
> 
> Being the proud owner of a beautiful cat, I rather feel inclined to pay 
> tribute to the family every now and then  : - )
> 
> Regards
> Manish Jain

My CEC (Chief Executive Cat) has done a code review and suggests you can
possibly give the kitties a rest break if you quit hitting the pipe:


    tr '[:upper:]' '[:lower:]' <infile | rest of chain


----------------------------------------------------------------------------
Tim Daneliuk     tundra@tundraware.com
PGP Key:         http://www.tundraware.com/PGP/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f87f5080-1388-51e2-8093-ee7628df753d>