renamepalooza time

Brad brad.lanam.comp_nospam at nospam_gmail.com
Sun Jan 23 07:12:16 PST 2011


On 2011-01-21, Jonathan M Davis <jmdavisProg at gmx.com> wrote:
> tr? The name means nothing to me. I haven't a clue where the name comes from, so
> I can't really give a better version of the same name. As it is, tr seems fine to
> me, particularly since tR just seems stupid. It should probably get a more
> descriptive name though. replaceChars?

Just for everyone's info.

tr is a standard unix command; been around forever,
and it is a mnemonic for 'translate'.

It's also in perl.

tr A-Z a-z   # convert to lower-case
Perl: $ph =~ tr/0-9/cd # get only the digits from a phone number entry field.


More information about the Digitalmars-d mailing list