Hello David,
Tuesday, April 30, 2002, 7:51:29 PM, you wrote:
DU> I was just checking to see if the first char was a number or a digit
DU> but there are some cases where a hostname can start with a number.
DU> (like 3.14159.com for example)
Sorry to reply to my own post, but a friend just
Hello beginners,
I have a small perl script which checks to see if input is a
hostname or an IP address before writing it to a file.
I was just checking to see if the first char was a number or a digit
but there are some cases where a hostname can start with a number.
(like 3.14159.com
opensource
sap_db that would also be very cool. I'm happy to work from a
framework and add my own modules and such -- I'm just looking for
the best base that is out there and is tried and tested.
Thanks,
David Ulevitch mailto:[EMAIL PROTECTED]
F
s the whole line, as opposed to the $2 that I want.
Escaping the $2 to \$2 didn't work.
I know this could be done in perl, but I'm always one for the quick
and dirty CLI way first. ;-)
Thanks in advance.
Thanks,
David Ulevitch mailto:[EMAIL PROTECTED]