Epeksergasia wildcards *,?

Mihalis Tsoukalos mike at intrasoft.gr
Thu Feb 18 10:58:00 EET 1999


On Thu, 18 Feb 1999 root at port11.ath8.ppp.hol.gr wrote:

> Date: Thu, 18 Feb 1999 05:27:43 +0200 (EET)
> From: root at port11.ath8.ppp.hol.gr
> Reply-To: linux-greek-users at hellug.gr
> To: linux-greek-users at hellug.gr
> Subject: Re: Epeksergasia wildcards *,?
> 
> > Gia paradeigma dinontas
> > ls *.pl
> > mas bgazei otan ta arxeia poy teleionoun se pl.
> > Thelo na ilopoi'i'so kati paromoio se c kai psaxno ton tropo, diladi ta
> > system calls pou xreiazontai.
> 
> Mixali, se sindiasmo me oti sou eipan oi prohgoumenoi, 
> alla an katalaba swsta thn erwthsh sou : koita gia fnmatch (man fnmatch)
> An thes mporeis na breis kai ta sources ths mesa sta sources ths libc
> (egw thn exw enswmatwsei mexri kai se Cobol !!)
> 
> I.Ioannou <roryt at hol.gr>

Efxaristo olous gia tin bo'i'theia.
Gia na perigrapso kalitera afto pou thelo na kano tha po oti ego thelo to
apotelesma tou ls *.h [giati kati san ls thelo na kano] na to pairno se
ena pinaka char** tis c/c++ gia na epeksergazomai ta arxeia.

H fnmatch fainetai na kanei afto pou thelo arkei na anoikso to directory
kai na diabaso ola ta arxeia tou kai gia kathena apo ta arxeia na testaro
an einai simfono me to pattern.
Isos se sindiasmo me tin scandir na kano afto pou thelo pio efkola.

kalimera,
mixalis.

--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list