Unix questions - fastest way to translate large file to uppercase

This is Interesting: Free IT Magazines  
Home > Archive > Unix questions > January 2005 > fastest way to translate large file to uppercase





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author fastest way to translate large file to uppercase
John Leslie

2005-01-27, 7:54 am

Before I spend time testing this I wondered if anyone has any idea
what would be the fastest way to transalte all lowercase values in a
file to uppercase :

tr or awk or maybe sed?
Chuck Dillon

2005-01-27, 5:52 pm

John Leslie wrote:

> Before I spend time testing this I wondered if anyone has any idea
> what would be the fastest way to transalte all lowercase values in a
> file to uppercase :
>
> tr or awk or maybe sed?


I would guess dd (i.e. conv=ucase), with a hefty block size, would be
fastest.

-- ced

--
Chuck Dillon
Senior Software Engineer
NimbleGen Systems Inc.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com