Rechercher une page de manuel
for
Langue: en
Version: 148299 (fedora - 04/07/09)
Section: 1 (Commandes utilisateur)
Sommaire
NAME
for - perform a set of commands multiple times.Synopsis
for VARNAME in [VALUES...]; COMMANDS...; endDescription
for is a loop construct. It will perform the commands specified by COMMANDS multiple times. Each time the environment variable specified by VARNAME is assigned a new value from VALUES. If VALUES is empty, COMMANDS will not be executed at all.Example
The commandfor i in foo bar baz; echo $i; end
would output:
foo bar baz
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre