A fix for the F3 /var/log bug... / POSIX and '##'

Pavel Roskin proski at gnu.org
Fri Jun 6 23:41:54 UTC 2003


On Fri, 6 Jun 2003, Alfie Costa wrote:

> Recap:  /var/log files don't view right using F3 in 'mc'.  This can be
> gotten around using various filters.  The two attempts considered here
> so far (one using the POSIX shell's '##', and the other using 'file -z')
> may not work "out of the box" on all of mc's current platforms.

Thanks for the recap.  I have implemented it using "case", which is the
fastest and the most portable way.  It's in CVS now.

-- 
Regards,
Pavel Roskin



More information about the mc-devel mailing list