The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: de.comp.os.unix.shell
From: Gunnar Ritter <g...@bigfoot.de>
Date: Fri, 02 Nov 2001 18:07:31 +0100
Local: Fri, Nov 2 2001 12:07 pm
Subject: Re: Problem mit Argumenten und Schleife
Helmut Schellong <schell...@t-online.de> wrote: ^^^^^^^^ > --------------------------------------------- > for vname [ in word ... ] ;do list ;done > Each time a for command is executed, vname is set to the next > word taken from the in word list. If in word ... is omitted, > then the for command executes the do list once for each > positional parameter that is set starting from 1 (see ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ``Parameter Expansion''). [Kammzitat gesnippt] Doch. > Welcher der vier Fälle hier gilt, wird nicht beschrieben. Die Beschreibung in der v7-Manpage (»if in word ... is omitted then $ cat t ----- - denn ohne positionale Parameter wurde "$@" bis SVr3 (?) zu '' Somit ist »for i« stets portabler als »for i in "$@"«, zumal die Grüße, You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||