bugvile, a vi-compatible text editor - Bugs: bug #36801, Space in -s command line option bug

 
 

bug #36801: Space in -s command line option bug

Submitter:  None
Submitted:  Fri 06 Jul 2012 03:28:09 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 08 Aug 2012 12:50:55 AM UTC, comment #2: 

fixed in 9.8h

Thomas Dickey <dickey>
Group administrator
Fri 06 Jul 2012 04:01:39 PM UTC, comment #1: 

I see the problem is that I'm not quoting the "is the" when
constructing the [vileinit] buffer.  This can be demonstrated
using vile's -D option and looking in the [Trace] buffer.
For example:

[vileinit]:1 (0/0):source foo.rc
** opened /usr/build/lynx/lynx2.8.8dev.12d/foo.rc for read
** opened /usr/build/lynx/lynx2.8.8dev.12d/CHANGES for read
[vileopts]:1 (0/0):search-forward is the
BEEP

The words are there, but without quotes it accepts only the first.

Thomas Dickey <dickey>
Group administrator
Fri 06 Jul 2012 03:28:09 PM UTC, original submission:  

Running the command line:
    vile -s "a b" foo
will start vile and search for "a" not "a b".  It seems everything after the first white space is ignored.

vile version 9.8e for linux-gnu, installed Mon May  9 21:08:00 2011
Linux dragon 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Linux Mint

More info from Greg at -email is unavailable-

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dickey (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-08-08 dickey StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code