From bostic@BSDI.COM  Wed Sep 27 19:05:29 1995
Received: from bsdi.BSDI.COM (bsdi.BSDI.COM [205.230.224.1])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id TAA22865
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 27 Sep 1995 19:05:29 -0700
Received: (from bostic@localhost) by bsdi.BSDI.COM (8.6.12/8.6.12) id UAA07978; Wed, 27 Sep 1995 20:05:21 -0600
Message-Id: <199509280205.UAA07978@bsdi.BSDI.COM>
Date: Wed, 27 Sep 1995 20:05:21 -0600
From: Keith Bostic <bostic@BSDI.COM>
To: joerg_wunsch@interface-business.de
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: vi cannot edit a file where the name starts with +

>Number:         749
>Category:       bin
>Synopsis:       Re: vi cannot edit a file where the name starts with +
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 27 19:10:01 PDT 1995
>Closed-Date:    Sat Oct 28 01:47:13 PDT 1995
>Last-Modified:  Sat Oct 28 01:47:57 PDT 1995
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pst 
State-Changed-When: Sat Oct 28 01:47:13 PDT 1995 
State-Changed-Why:  
Use vi ./+file 
>Unformatted:
 >>Submitter-Id:   current-users
 >>Originator:     J. Wunsch
 >>Organization:   interface business GmbH, Dresden
 >>Confidential:   no
 >>Synopsis:       vi cannot edit a file where the name starts with +
 >>Severity:       non-critical
 >>Priority:       low
 >>Category:       bin
 >>Release:        FreeBSD 2.0-BUILT-19950603 i386  (actually 2.0.5R)
 >>Class:          sw-bug
 >>Environment: 
 >
 > FreeBSD 2.0.5R
 >
 >>Description: 
 >
 > vi cannot edit a file that's name is starting with a plus sign.
 >
 >>How-To-Repeat: 
 >
 > touch +foo
 > vi +foo
 > ~
 > ...
 > ~
 > /tmp/vi.014780: new file: line 1;  The foo command is unknown.
 >
 > :e +foo yields the same.
 
 Historically, arguments beginning with + act as ex commands
 before the file is displayed, e.g.:
 
 	vi +10 file
 
 will position the initial cursor at line 10 in the file.
 This is also true of the :edit and :next commands, e.g.
 
 	:edit +10 file
 
 will behave similarly.
 
 So, unless I misunderstand what you're saying, I don't believe
 that this is a bug.
 
 --keith
 > From: "J. Wunsch" <j@ida.interface-business.de>
 > Subject: vi cannot edit a file where the name starts with +
 >
