Sujet : Re: Iterating over a set in bash
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.unix.shellDate : 14. Jan 2025, 02:13:06
Autres entêtes
Organisation : None to speak of
Message-ID : <87bjwa9p0d.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6
User-Agent : Gnus/5.13 (Gnus v5.13)
Lem Novantotto <
Lem@none.invalid> writes:
[...]
$ while true; do echo yes; done |while read $w; do echo "$w and no"; done
"while true; do echo yes; done" can be equivalently written as "yes yes".
The "yes" command prints its arguments repeatedly. With no argument, it
prints "y" repeatedly.
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */