Somebody suggested `ls -d FILE | wc -l'. Maybe with a judicious `2>/dev/null' thrown in. What do you think? kai -- I like BOTH kinds of music.
- How to test if file exists? Kai Großjohann
- Re: How to test if file exists? Kai Großjohann
- Re: How to test if file exists? Daniel Pittman
- Re: How to test if file exists? Kai Großjohann
- Re: How to test if file exists? Daniel Pittman
- Re: How to test if file exists? Skip Montanaro