BSD stoixeia
Michalis Kabrianis
kabrianis at hellug.gr
Sat Dec 11 14:36:27 EET 1999
On 11-Dec-99 Vasilis Vasaitis wrote:
> On Thu, Dec 09, 1999 at 11:12:29PM +0200, Michalis Kabrianis wrote:
>>
>> Bzing, xasate.
>> LEGAME (diabazete kai kanena mail proigoumeno) oti den yparxei ap' oso kserw
>> system-independent function tis PERL pou na prosthetei users. To opoio den
>> exei kamia sxesi me ayto pou les esy.
>> Kai to opoio en oligois simainei oti sto men linux tha "peiraksei" ta
>> /etc/passwd kai /etc/shadow, sto de *BSD ta /etc/passwd, /etc/master.passwd,
>> kai ta antistoixa db
>>
>> H protasi bebaia paramenei. An kserei kapoios kati, poly tha to ektimisw.
>
> Χμ, ορισμένοι προγραμματιστές της Perl φαίνονται να ξεχνάνε ότι ό,τι και
> να κάνουν μ' αυτήν παραμένει μια scripting γλώσσα (φταίει βέβαια και η ίδια
> με τις μεγαλομανείς διαθέσεις της).
Eisai poly adikos me tin Perl. Einai isxyrotati. Mia "genikis xrisis" scripting
glwssa, den ypostirizei:
forks,
threads,
sockets,
DBM files,
low level file-directory handling,
Connectivity se Databases, HTTP frontends klp klp klp. Ena man perlfunc (an kai
eimai sigouros oti to exeis kanei) mporei na se entypwsiasei. Eidika me tin
dynami tis se pattern-matching kai string manipulation (pou as poume i C einai
aparadekti), parexontas omws parallila OLES tis functions tis C gia tetoies
douleies, den blepw pouthena tis anaitiologites megalomaneis diatheseis.
Para to oti einai scripting, ayti ti stigmi IMHO (to ksanatonizw, IMHO) einai i
isxyroteri glwssa gia opoiadipote douleia. (oxi bebaia i taxyteri), efoson
parexei KAI objects.
Kai eimai kata 99% sigouros oti i pleiopsifia twn probllimatwn -
programmatistikwn anagkwn ayti ti stigmi (as poume ena 90%) einai to idio
eukolo an oxi eukolotero na ginei me Perl para me c, c++ klp. Kai o logos pou
tha dialega C anti tis Perl gia kapoio project, tha itan apla kai mono i
taxytita an ypirxe tetoia anagki (p.x. na grapsei kapoios enan Window Manager
:-)
> Το οποίο σημαίνει ότι έχεις όλη την
> εργαλειοθήκη του UNIX στη διάθεσή σου, και ότι μπορείς πάντα να κάνεις κάτι
> τέτοιο:
>
> exec("useradd", "with", "whatever", "arguments", "it", "accepts");
>
Safws, kai, an kai kanei fork, (kati pou prospathoume na apofeygoume) polles
fores kanei tin douleia mas.
Kai akoma kalytera, an exeis idi elegksei to input, sou kanei tin douleia to
$result=`unix-command parameters`;
mia pou sou epistrefei kai to apotelesma (an yparxei bebaia) tis entolis.
> Βέβαια, επιφυλάσσομαι στο κατά πόσον υπάρχει μια συγκεκριμένη εντολή όπως
> η useradd σε όλα τα συστήματα που σε ενδιαφέρουν, αλλά αξίζει να έχεις αυτόν
> τον τρόπο σκέψης πρόχειρο.
Mwre o tropos skepsis yparxei, alla opws eipes ki exy, i symbatotita den
yparxei.
To programma pou egrafa epaize se HP-UX, Digital Unix, (ayta ta dyo xwris C2)
SunOS, Solaris, Linux, Irix. xwris na kalei katholou (sxedon) ekswterikes
entoles kai oti kalouse briskotan kata to installation, ara "epaiza" me enan
kwdika, kai xwris polles "erwtiseis" pros to xristi...
Giati akribws, i useradd (kai oxi mono, alla mia kai milame gia aytin) exei
diafores, oxi apla anamesa se Tru64 kai Linux (pou to epsaksa prwta), alla
akoma kai anamesa se SuSE Linux kai Caldera Linux :-(
Kai dystyxws polles alles entoles einai entelws asymbates metaksy tous. (p.x. i
killall, opoios exei doulepsei Tru64 as poume, kai Linux, kserei tin "pikra" tis
killall).
> Vasilis Vasaitis
> vvas at hal.csd.auth.gr
>
> Nuke them till they glow, then shoot them in the dark.
Michalis Kabrianis
kabrianis at hellug.gr
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/lgu.html
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
====================================================================
More information about the Linux-greek-users
mailing list