On Thu, Aug 12, 1999 at 03:11:32PM -0400, Wakko Warner took time to write:
> Every time I go to less a file that might be a binary (to less), it asks if
> I want to view it. This has gotten very annoying and I haven't seen how to
> turn this off. I want to turn it off.
man less says :
-f Forces non-regular files to be opened. (A non-reg
ular file is a directory or a device special file.)
Also suppresses the warning message when a binary
file is opened. By default, less will refuse to
open non-regular files.
that should do it...
create an alias for easier use, like (in bash)
alias less='less -f' (in your ~/.bash_profile)
> And someone reply to me, the past few messages I asked were just ignored.
hope that helps....
Patrick, just himself and a little less.
- Re: less
- From: Brian Servis <email@example.com>
- From: Wakko Warner <firstname.lastname@example.org>