in reply to (tye)Re: Portably transforming a string to a valid filename
in thread Portably transforming a string to a valid filename
One thing bothers me about this: The codes for punctuation are not pneumatic. This is easily fixed. The association between punctuation and letters/numbers should be changed to be:
based on the following phlegmatic code: At Brace CloseCurly Dollar Equals Feet Grave-accent Hat Inches Join whacK/stroKe Less-than More-than Number Open Paren Question Reverse-whack Square brackeT Underline Verticalbar Wiggle eXclaim y(Spanish for "and"). % and z are shaped the same as are * and 0. Comma has 1 "dot" while colon has 2 dots and semicolon is a bit more than colon.tr[@{}$='`^"+/<>#()?\[]_|~!&%*,:;] [abcdefghijklmnopqrstuvwxyz0123];
I could see swapping /=k and &=y to get /=y and &=k based on similarity of shape (the whacK/stroKe connection is rather weak). *shrug*
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Portably transforming a string to a valid filename (mnemonic)
by Nkuvu (Priest) on Dec 04, 2003 at 20:57 UTC | |
by tye (Sage) on Dec 04, 2003 at 21:08 UTC | |
by Nkuvu (Priest) on Dec 10, 2003 at 17:32 UTC |