Re: less and vi fail on file whose name begins with +

2012-07-16 Thread Thomas Mueller
from Glen Barber g...@freebsd.org: less(1) is expecting '+' to be followed by additional arguments. If you use 'less -- +DESC', for example, it should work fine. Same with vi(1). Yes, that works, as does less ./+DESC. Somehow I thought I had successfully done less +CONTENTS successfully

less and vi fail on file whose name begins with +

2012-07-15 Thread Thomas Mueller
I notice in my latest build of FreeBSD 9.0-STABLE (#11), a problem with less and vi with files whose name begins with +. These files occur in /var/db/pkg/(pkg-name)/ For instance, if I cd /var/db/pkg/png-1.4.8 and type less +DESC I get Missing filename (less --help for help) but if I type

Re: less and vi fail on file whose name begins with +

2012-07-15 Thread Glen Barber
On Mon, Jul 16, 2012 at 01:03:30AM -0400, Thomas Mueller wrote: I notice in my latest build of FreeBSD 9.0-STABLE (#11), a problem with less and vi with files whose name begins with +. These files occur in /var/db/pkg/(pkg-name)/ For instance, if I cd /var/db/pkg/png-1.4.8 and type

Re: less and vi fail on file whose name begins with +

2012-07-15 Thread Zhihao Yuan
On Mon, Jul 16, 2012 at 12:03 AM, Thomas Mueller muelle...@insightbb.com wrote: I notice in my latest build of FreeBSD 9.0-STABLE (#11), a problem with less and vi with files whose name begins with +. These files occur in /var/db/pkg/(pkg-name)/ For instance, if I cd /var/db/pkg/png-1.4.8

Re: less and vi fail on file whose name begins with +

2012-07-15 Thread Teske, Devin
On Jul 15, 2012, at 10:03 PM, Thomas Mueller muelle...@insightbb.com wrote: I notice in my latest build of FreeBSD 9.0-STABLE (#11), a problem with less and vi with files whose name begins with +. These files occur in /var/db/pkg/(pkg-name)/ For instance, if I cd /var/db/pkg/png-1.4.8

Re: less and vi fail on file whose name begins with +

2012-07-15 Thread Mateusz Guzik
On Mon, Jul 16, 2012 at 01:03:30AM -0400, Thomas Mueller wrote: I notice in my latest build of FreeBSD 9.0-STABLE (#11), a problem with less and vi with files whose name begins with +. These files occur in /var/db/pkg/(pkg-name)/ For instance, if I cd /var/db/pkg/png-1.4.8 and type

Re: less and vi fail on file whose name begins with +

2012-07-15 Thread Matthew D. Fuller
On Mon, Jul 16, 2012 at 01:03:30AM -0400 I heard the voice of Thomas Mueller, and lo! it spake thus: Has anybody noticed this bug? It's not a bug really; both can take an argument starting with '+' for various things. -- Matthew Fuller (MF4839) | fulle...@over-yonder.net

Re: less and vi fail on file whose name begins with +

2012-07-15 Thread Mark Andrews
This is not a bug. Both vi and less have + command line arguements. -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org ___ freebsd-stable@freebsd.org mailing list

Re: less and vi fail on file whose name begins with +

2012-07-15 Thread poyopoyo
At Mon, 16 Jul 2012 01:03:30 -0400, Thomas Mueller wrote: I tried vi instead of less, not really wanting to edit the file, and vi tried to open a temporary file on /tmp with a strange name. Has anybody noticed this bug? It affects i386 and amd64 at least. You might have received enough