*BSD News Article 69620


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!act.news.telstra.net!psgrain!news.uoregon.edu!arclight.uoregon.edu!news.dacom.co.kr!bofh.dot!news.kreonet.re.kr!bofh.dot!usenet.etri.re.kr!usenet.kornet.nm.kr!agate!howland.reston.ans.net!newsxfer.itd.umich.edu!news.mathworks.com!newsgate.duke.edu!news.eff.org!news.umbc.edu!cs.umd.edu!info.usuhs.mil!hq.hq.af.mil!news
From: sgregory@pubspo.hq.af.mil (Scott Gregory)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.lang.perl.misc
Subject: Deleting Empty Files
Date: Tue, 28 May 1996 16:33:31 GMT
Organization: Departmental Publishing
Lines: 13
Message-ID: <31ab29fe.17230986@news.hq.af.mil>
NNTP-Posting-Host: emme-5681-b.hq.af.mil
X-Newsreader: Forte Agent .99d/32.182
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:20237 comp.lang.perl.misc:26465

Is there a utility or script that will delete files that are empty??

I have a script that creates an empty file if it doesn't get any
input.  I am pipeing ls to another script, but I don't want empty
files included.

Any help would be appreciated.

Thanks

C-ya

Scott