Subject: Re: curious less behavior with plus sign and wildcards
To: Chris Tribo <ctribo@dtcc.edu>
From: Jeremy C. Reed <reed@reedmedia.net>
List: current-users
Date: 11/08/2005 15:20:33
On Tue, 8 Nov 2005, Chris Tribo wrote:
> This doesn't compute, but FWIW, MacOS X has the same behavior.
> -bash-3.00# less +DEINSTALL
> Missing filename ("less --help" for help)
...
man less
The plus is a option to less:
+cmd Causes the specified cmd to be executed each time a new file is
examined. For example, +G causes less to initially display each
file starting at the end rather than the beginning.
Use:
less -- +DEINSTALL
or
less ./+DEINSTALL
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/