if a bash

Veros Kaplan xkaplan na informatics.muni.cz
Čtvrtek Září 7 13:42:54 CEST 2000


 Jan Satko wrote/napsal:
: 
: Hmm.
: 
: if [ `df | wc -c` > 80 ]; then 
:  spust_script
: fi

   Spis takhle:

if [ `df | wc -c` -gt 80 ]; then
	spust_script
fi 

--
Věroš Kaplan <xkaplan na informatics.muni.cz>    http://www.fi.muni.cz/~xkaplan/
ISO-8859-2 compatible                           ministerstvo medvědích služeb
||
s="%s;print's='+s%%`s`";print's='+s%`s`


Další informace o konferenci Linux