Jednoduchy skriptik II
Petr Novotny
Petr.Novotny na antek.cz
Čtvrtek Duben 27 11:56:58 CEST 2000
-----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? :-)
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60
Comment: http://community.wow.net/grt/qdpgp.html
iQA/AwUBOQgA2lMwP8g7qbw/EQJ7NQCfest91vOIHmjQeMbeybUMdbWZ2scAnRwk
DhJiLOaOkhmSq5EhaNmeZgAH
=5FOk
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
Petr.Novotny na antek.cz
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
[Tom Waits]
Další informace o konferenci Linux