Ummm .. sorry .. got it already ... i just did a \- to detect the - symbol
..
On Thu, 13 Apr 2000, Froilan Mendoza wrote:
>
> To translate names to allow only (letters, numbers, -, _), i did this:
>
> tr/[A-Z]/[a-z]/
> tr/0-9|a-z|-|_//cd
>
> however,
>
> string abc-def is being translated to abcdef
>
> TIA
>
> Sincerely,
>
> Froilan C. Mendoza
> Tridel Technologies, Inc.
> http://www.tridel.net
>
>
> -
> Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
>
Sincerely,
Froilan C. Mendoza
Manager - Systems Management
Tridel Technologies, Inc.
http://www.tridel.net
-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]