Bug 34498

Summary: Error in vi manpage.
Product: Base System Reporter: Ira L. Cooper <ira>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.3-STABLE   
Hardware: Any   
OS: Any   

Description Ira L. Cooper 2002-01-31 20:00:04 UTC
The following is in error on the FreeBSD manpage for vi.

       [count] ~ motion
              Reverse the case of the characters in a text region
              specified by the count and motion.

Fix: 

Remove the offending text.
How-To-Repeat: Either: man vi

or edit a file in vi and try 2~j
Comment 1 brooks 2002-01-31 20:03:54 UTC
On Thu, Jan 31, 2002 at 02:46:34PM -0500, Ira L. Cooper wrote:
> 
> System: FreeBSD star.wakeful.net 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #1: Mon Jan  7 22:10:35 EST 2002     root@star.wakeful.net:/usr/obj/home/ira/4.X-STABLE/src/sys/STAR  i386
> >Description:
> The following is in error on the FreeBSD manpage for vi.
> 
>        [count] ~ motion
>               Reverse the case of the characters in a text region
>               specified by the count and motion.
> 
> >How-To-Repeat:
> Either: man vi
> 
> or edit a file in vi and try 2~j
> 
> >Fix:
> 
> 	Remove the offending text.

The only thing that's wrong is the "motion" part.  ~ works and it does
take a count.

-- Brooks
Comment 2 Brooks Davis freebsd_committer freebsd_triage 2002-01-31 21:15:07 UTC
State Changed
From-To: open->suspended

The submitter will submit the change to the nvi maintainer to be merged 
when the corrected version appears in a release.
Comment 3 ru freebsd_committer freebsd_triage 2006-10-12 20:42:01 UTC
State Changed
From-To: suspended->closed

Actually there are two `~' commands; which one is used depends 
on the "tildeop" option; see the Vi reference manual.