Re: Èåìá bash iteration

Nick Demou ndemou at gmail.com
Wed Oct 18 16:05:11 EEST 2006


Ôçí 18/10/2006, Giorgos Keramidas <keramida at ceid.upatras.gr> Ýãñáøå:
> On 2006-10-18 11:36, Kostas Zorbadelos <kzorba at otenet.gr> wrote:
> >On Wed, Oct 18, 2006 at 11:09:31AM +0300, Nick Demou wrote:
> >>Óôéò 18/10/2006, basOS G <noxelia at gmail.com> Ýãñáøå:
> >>> Ãåéá êáé ÷áñá.
> >>> Å÷ù êáôé áðïñéåò ãéá ôéò äõíáôïôçôåò ôïõ âash.
> >>> Èåëù íá scanarw oëá ôá áñ÷åéá êáé ôïõò öáêåëïõò åíïò êáôáëüãïõ
> >>> êáé áíáëïãá ìå êÜðïéåò óõíèçêåò íå åêôåëÝóù áëëáãÝò óôá ïíüìáôá ôïõò.
> >>
> >> *ÁÍ* èåò ìðïñåßò íá äïêßìáóåéò óå python[1].
> >
> > Rixe malista mia matia stin os.walk()
> > (http://docs.python.org/lib/os-file-dir.html#l2h-2707). Mporei na se
> > entyposiasei...
>
> Åßíáé ëßãï `äéáöïñåôéêÞ' ç Python áðü ôï bash, êáé ðïëëÝò öïñÝò ìå
> åíï÷ëåß êÜðùò, áëëÜ Ý÷åé üíôùò åíäéáöÝñïí :)
>
Íïìßæù üôé âßùóá ôï áêñéâþò áíôßóôñïöï ðïëéôéóìéêü óïê üôáí Þñèá óå
åðáöÞ ìå ôï bash scripting. Åúðá ôüôå ó÷åäüí üðùò êé åóý "ÅíäéáöÝñïí
áëëÜ êáé äéáöïñåôéêü!". Åß÷á âåâáéá ðïëëÜ ÷ñüíéá ðïõ ôï ìõáëü ìïõ
ìïíïðùëïýóáí ðáñáäïóéáêÝò functional programming languages (scripting
Þ ü÷é) êáé ðïõ ìç Ý÷ïíôáò åðáöÞ ìå unix íüìéæá üôé ôï shell äåí èá
ìðïñïýóå íá êÜíåé ðáñÜ ìïíÜ÷á üóá åß÷á äåé óå DOS/Windows.




More information about the Linux-greek-users mailing list