case command
Tim Daneliuk
tundra at tundraware.com
Sun Sep 17 15:08:07 UTC 2017
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 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>
>>
>
> 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 at tundraware.com
PGP Key: http://www.tundraware.com/PGP/
More information about the freebsd-questions
mailing list