Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Nov 1999 02:31:15 -0800
From:      Tani Hosokawa <unknown@riverstyx.net>
To:        Riaan Kruger <rk@nanoteq.co.za>
Cc:        "freebsd-newbies@FreeBSD.ORG" <freebsd-newbies@FreeBSD.ORG>
Subject:   Re: vi and plus
Message-ID:  <19991125023115.A27320@riverstyx.net>
In-Reply-To: <383CFFF5.669CBEF4@nanoteq.co.za>; from Riaan Kruger on Thu, Nov 25, 1999 at 11:23:01AM %2B0200
References:  <383CFFF5.669CBEF4@nanoteq.co.za>

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

Sure..

vi -- +CONTENTS

Works for me.  Generally, you can use -- to specify the end of flags, ie.

rm -- -filename

normally rm would treat -filename as some kind of argment, like vi does with +.

On Thu, Nov 25, 1999 at 11:23:01AM +0200, Riaan Kruger wrote:
> Is it at all possible to edit a file with vi that start with a plus/"+",
> for example +CONTENTS.  The man page says the +whatever is used for some
> kind of command.
> 
> Riaan Kruger
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-newbies" in the body of the message

-- 
---
tani hosokawa
river styx internet



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




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