On Thu, Jun 16, 2005 at 03:04:13 +1000, Mike MacCana wrote: > > > You all suck.
Hah! Probably.
Trouble with 'file' is that it 'succeeds' either way.
With mdir you can
if mdir >/dev/null 2>&1
then
echo floppy in
else
echo floppy out or drive broken
fi
Matt
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
