On Mon, 10 Mar 2003 14:51:58 -0500 (EST), harry franks wrote: > >is there any regular expression syntax for only getting the last logfile >(aka the one with the greatest number)
LOGFILE=`ls logfiles* | sort | tail -n 1` or something along those lines. regards, Per Jessen, Zurich http://www.enidan.com - home of the J1 serial console. +------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | Digest version: http://lists.isite.net/listgate/analog-help-digest/ | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general | List archives: http://www.analog.cx/docs/mailing.html#listarchives +------------------------------------------------------------------------