> -----Original Message----- > From: Etienne Marcotte [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 08, 2001 2:24 PM > Cc: 'Michael D. Risser'; [EMAIL PROTECTED] > Subject: Re: Comparison problem > > > In my previous post I used -f for missing file, but -f is for a file > present so it would either go into a else, or check which one is the > missing file flag, I think it's -e :-/
FWIW, there is no "missing" flag. -e is for simple existence (file, directory, fifo, whatever). -f is test for plain file. Michael's algorithm still has problems even if he removes . and .. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]