Re: fastest way to translate large file to uppercase

From: Chuck Dillon (spam_at_nimblegen.com)
Date: 01/27/05


Date: Thu, 27 Jan 2005 08:56:55 -0600

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.


Relevant Pages

  • fastest way to translate large file to uppercase
    ... 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 ... tr or awk or maybe sed? ...
    (comp.unix.questions)
  • Re: Case-insensitivity considered harmful
    ... In many environments of the 1960s, monocase, specifically uppercase, ... you could get a lowercase print chain mounted, ... Bell Labs UNIX & C ... While there are some exceptions, older languages tend to ...
    (comp.arch)
  • Re: Case-insensitivity considered harmful
    ... - it is fastest to type lowercase ... CamelCase, either UpperCamelCase, or lowerCamelCase, are not too bad, ... and almost all of them were lowercase. ... UPPERCASE, and, and occasionally, ...
    (comp.arch)
  • Re: How to prevent cdr from capitalizing symbols?
    ... The original character set for Lisp was ... I don't think the IBM 704 or 709 even had a typewriter option. ... Uppercase only looks strange if you're used to lowercase. ...
    (comp.lang.lisp)
  • Re: gethostbyname
    ... If you need lowercase then call a routine to convert. ... uppercase, then these queried records will return as uppercase. ... Microsoft MVP - Directory Services ... Instead of the website you're using, I suggest to use OEx (Outlook Express ...
    (microsoft.public.win2000.active_directory)