|
lug-bg: perl
- Subject: lug-bg: perl
- From: bugar@xxxxxxx ( )
- Date: Fri, 16 Aug 2002 18:27:32 +0300 (EEST)
Zdraweite.
Nqkoi moje li da mi pomogne da naprawq sledniq skript.
Znachi iskam da polucha w dadena promenliwa ip adresa na klient na ssh.
Misleh si che e nai-lesno kato izpolzwam promenliwite na sredata na
potrebiteq
/env/. Ot tam moje da se izpolzwa SSH_CLIENT=ip_add_na_klient x y kydeto y e
port 22 /portan na ssh/ a x predpolagam che e porta na klienta, no wyprosyt e
kak da otdelq towa koeto mi trqbwa. Edinstweno koeto se setih e che moje da
se proweri dali syshtestwuwa takwoa neshto naprimer
.................
if ( /\d{2,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/)
.....................
no sled towa kakwo trqbwa da se naprawi ne znam.
Blagodarq za pomoshtta.
__________________________________
12MB-POP3-WAP-SMS---TOBA-E-mail.bG
----------------------------------
" Ako uckame u Bue agpec B mail.bg
ugeme myk: http://www.mail.bg/new/ "
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|