On Tue, 4 Oct 2005, Gaetano Mendola wrote:
Looks like we're doing just about the same thing, but you're using head and
I'm using tail. However, it seems that your method does not require grepping
out the special files, so that's awesome!
BTW you do not have to use the -1 flag when you put ls to a pipe.
-Jeff
> FILE=$( ls -t1p $PGXLOG | grep -v / | head -1 )
--
Jeff Frost, Owner <jeff(at)frostconsultingllc(dot)com>
Frost Consulting, LLC http://www.frostconsultingllc.com/
Phone: 650-780-7908 FAX: 650-649-1954