Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Generate unique initials from a list of names

by ambrus (Abbot)
on Mar 12, 2004 at 17:19 UTC ( [id://336209]=note: print w/replies, xml ) Need Help??


in reply to Generate unique initials from a list of names

I've written a slightly related piece of code (not in Perl). It was a patch for bash with which you can display the working directory in the prompt abbreviated, but so that the abbreviation is still unique (unless the file system has changed since the abbrev is computed).

More information here: http://www.math.bme.hu/~ambrus/pu/compact-pwd

However, this one creates abbreviations a different way, from A A Milne and A A Milner, it will print A and Ar resp.

(I originally wrote this patch because of the silly long directory names of Mathematica.)

  • Comment on Re: Generate unique initials from a list of names

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://336209]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-18 13:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found