Syntaxe while v bash

Michael Mraka michael na informatics.muni.cz
Pondělí Únor 14 14:18:57 CET 2000


Korinek, Jan wrote:
% > while [ 1=1 ]
% > do
% > ...
% > done
% Udelejte to jednoduseji :-)
% 	while true
% 	do
% 	...
% 	done

Tohle je dost dobre reseni :-), ale jeste by se dalo obejit bez
spousteni externiho programu /bin/true:

 while :
 do
 ..
 done

:-)

--mm                                                            Michael Mráka



Další informace o konferenci Linux