[Cialug] Display file contents either with less or cat based on number of lines
Nathan Stien
nathanism at gmail.com
Tue Oct 25 09:29:09 CDT 2011
On Tue, Oct 25, 2011 at 9:21 AM, Scott Prader <sprader at iastate.edu> wrote:
> Could probably write a wrapper for cat (maybe call it dog) and have it
> reference /etc/mine.types and/or the file command so that once it
> understands the 'scent' of the file, it will know how to process the file
> based off of the preferred application for it.
>
Relevant:
http://www-zeuthen.desy.de/~friebel/unix/lesspipe.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cialug.org/pipermail/cialug/attachments/20111025/b9f5d9d0/attachment.html>
More information about the Cialug
mailing list