Shell script question.

Dimitrios P. Bouras dbouras at hol.gr
Thu Apr 24 21:25:09 EEST 1997


Nikos Vasaitis wrote:
> 
>   Se ena shell script (bash) pos mporo na kano ena set entolwn na ekteleitai
> n fores?

  Niko,

  Diaforoi tropoi yparxoun. O parakatw mou'r0e prwtos sto
 myalo san paradeigma:

n=0
while [ $n != 15 ]; do
    <Oi entoles pou se endiaferoun edw>
    n=`expr $n + 1`
done

  Dhmhtrhs

 PS. man bash, man test, man expr  :)

--
|  Dimitrios P. Bouras   |           Tel.: +30 1 894-1320 or 968-0554  |
|  41 Pandora Str.       |                        FAX: +30 1 382-7900  |
|  166 74 Athens         |  E-mail: dbouras at hol.gr, dimitri at ee.ubc.ca  |
|  GREECE                |          Web: http://users.hol.gr/~dbouras  |
--
====================================================================
Gia na mathete pos na xrisimopoiite ton majordomo, stilte e-mail
sto "majordomo at argeas.argos.hol.gr" me 1 grammi sto keimeno: help
Ta archives tis listas einai sto http://www.argos.hol.gr/lists
Gia opoiodipote problima stilte  e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list