Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 1995 10:52:30 +0100
From:      "J. Wunsch" <j@ida.interface-business.de>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        bostic@cs.berkeley.edu
Subject:   bin/743: vi cannot edit a file where the name starts with +
Message-ID:  <199509270952.KAA14881@ida.interface-business.de>
Resent-Message-ID: <199509271020.DAA26831@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         743
>Category:       bin
>Synopsis:       vi cannot edit a file where the name starts with +
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 27 03:20:02 PDT 1995
>Last-Modified:
>Originator:     J. Wunsch
>Organization:
interface business GmbH, Dresden
>Release:        FreeBSD 2.0-BUILT-19950603 i386  (actually 2.0.5R)
>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.

>Fix:
	
Prepending a directory component (e.g. "./") works around the problem.
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509270952.KAA14881>