Subject: Re: less-290 argparsing broken
To: VaX#n8 <vax@linkdead.paranoia.com>
From: Phil Knaack <flipk@ncremp.ag.iastate.edu>
List: current-users
Date: 04/01/1996 12:58:21
>perhaps I am missing something, but this seems annoying:
>vax@linkdead bash$ more +COMMENT
>Missing filename ("less -\?" for help)
>vax@linkdead bash$ more -- +COMMENT
>Missing filename ("less -\?" for help)
>vax@linkdead bash$ more ++ +COMMENT
>String is required after -+
>vax@linkdead bash$ /usr/bin/more < +COMMENT
>(aha! the holy grail!)
While it is true that the "+CMD" arg to more/less is pretty standard, it
is surprising that at least the second one didn't work.
On a side note,
$ more ./+COMMENT
would have solved your problem.
>Cced to "less" author, as seemed appropriate.
Is it really a bug? I'm not sure..
Cheers,
Phil
--
Phillip F Knaack flipk@iastate.edu
Database Programmer, NCREMP Student Development Group
ISU Extension Project Vincent, Iowa State University