case command

Manish Jain bourne.identity at hotmail.com
Sun Sep 17 15:01:35 UTC 2017



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


More information about the freebsd-questions mailing list