divne chovani while v ksh a bash na linuxu
Pavel Kankovsky
peak na argo.troja.mff.cuni.cz
Úterý Říjen 12 12:54:55 CEST 1999
On 11 Oct 1999, Alexandr Malusek wrote:
> Pro neznale: Specifikaci POSIXu 1003.2 je mozne si koupit
> (http://standards.ieee.org/catalog/posix.html), ale cena $271 ($217
> pro cleny IEEE) je pomerne znacna. Vysledkem je, ze vsichni o tom
> mluvi, ale jen malokdo vi, co je tam vlastne napsano :-).
Ja jsem nerikal, ze to tam je, ale ze se tam maji lidi podivat, jestli
chteji vedet, jestli je to chyba nebo vlastnost. :)
Nicmene v SUS2 jsem nasel tohle salamounske tvrzeni:
Some systems have implemented the last stage of a pipeline in the
current environment so that commands such as:
command | read foo
set variable foo in the current environment. This extension is allowed,
but not required; therefore, a shell programmer should consider a
pipeline to be in a subshell environment, but not depend on it.
Takze spravna odpoved je ano i ne.
--Pavel Kankovsky aka Peak [ Boycott Microsoft--http://www.vcnet.com/bms ]
"Resistance is futile. Open your source code and prepare for assimilation."
Další informace o konferenci Linux