Jednoduchy skriptik II
Michal Weinfurtner
weinfurt na securities.cz
Čtvrtek Duben 27 12:10:22 CEST 2000
Ooops.
Tojsem zas jednou jednal rychleji nez myslel . Dvakrat mer jednou rez.
Michal
Petr Novotny wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 27 Apr 00, at 9:51, Michal Weinfurtner wrote:
>
> > V jakem shelu ? V bash je syntaxe trochu jina
>
> neni
>
> > for name [ in word; ] do list ; done
> > The list of words following in is expanded, generating a
> > list of
> > items. The variable name is set to
> > each element of this list in turn, and list is executed
> > each
> > time. If the in word is omitted, the
> > for command executes list once for each positional
> > parameter
> > that is set (see PARAMETERS
> > below).
>
> Takze pokud nenapisete "in seznam", tak se pouziji postupne
> parametry skriptu $1, $2, $3 atd.
>
> > Ale to neresi pripad zadani vice souboru jako argumentu z prikazove
> > radky ?
>
> Umite cist? :-)
>
--
Michal Weinfurtner
Systems Administrator
Internet Securities, Prague
A Euromoney Institutional Investor Company
Vinohradska 37 , 120 00 Praha 2, Czech republic
Voice: (+420 2) 22 25 43 45; Fax: (+420 2) 22 25 43 44
http://www.securities.cz
Další informace o konferenci Linux