On Thu, Mar 04, 2010 at 02:29:44PM +0100, Gabor HALASZ wrote:
> Pápai Balázs wrote:
> > Gabor HALASZ írta:
> >> Hogyan lehet egyszeruen megallapitani, hogy egy tetszoleges file hossza 
> >> nulla vagy sem? Linuxon kellene, igy a test -s renonsz.
> >>
> > Egy tipp
> > 
> > find . -name file -size +0  -> nem nulla
> > find . -name file -size 0  -> nulla
> > 
> Meg rosszabb.

A test -s konkrétan miért renonsz?

-- 
PTG
When in doubt, mumble; when in trouble, delegate; when in charge, ponder.
                -- James H. Boren
Debian Lenny
_________________________________________________
linux lista      -      linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz