Subject: Re: curious less behavior with plus sign and wildcards
To: Chris Tribo <ctribo@dtcc.edu>
From: Pavel Cahyna <pcah8322@artax.karlin.mff.cuni.cz>
List: current-users
Date: 11/09/2005 00:22:35
On Tue, Nov 08, 2005 at 06:12:13PM -0500, Chris Tribo wrote:
> This doesn't compute, but FWIW, MacOS X has the same behavior.
>
> -bash-3.00# cat +DEINSTALL
> #!/bin/sh
> #
> # start of header
> #
> # $NetBSD: header,v 1.34 2005/08/19 22:24:10 jlam Exp $
> ...
>
> So cat works, but...
>
> -bash-3.00# less +DEINSTALL
> Missing filename ("less --help" for help)
> clue bat?
man less.
less -- +DEINSTALL works (this is the standard way to suppress
interpretation of options).
Pavel Cahyna