Sujet : Re: Command Languages Versus Programming Languages
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.unix.shell comp.unix.programmer comp.lang.miscDate : 31. Mar 2024, 21:47:29
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <uuci50$20eve$1@dont-email.me>
References : 1 2 3 4
User-Agent : Pan/0.155 (Kherson; fc5a80b8)
On Sat, 30 Mar 2024 00:14:42 +0100, Janis Papanagnou wrote:
So what is 'for i in a ; do ... ; done' then in your world?
ldo@theon:~> for i in a b c; do echo i; done
i
i
i
Like I said, in a shell language, you have the assumption that “everything
is literal text until indicated otherwise”.