bugGNU nano - Bugs: bug #54674, syntax file sh.nanorc no longer...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #54674: syntax file sh.nanorc no longer matches #!/bin/busybox sh

Submitter:  Aaron Sears <ixlandia>
Submitted:  Mon 17 Sep 2018 07:51:08 PM UTC
   
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Wed 19 Sep 2018 07:22:00 PM UTC, comment #3: 

Released in 3.1.

Benno Schulenberg <bens>
Group administrator
Tue 18 Sep 2018 05:11:01 PM UTC, comment #2: 

The match was unintentional, but has now been made explicit.  Commit e2051a61.  Thanks for reporting.

Benno Schulenberg <bens>
Group administrator
Mon 17 Sep 2018 07:52:24 PM UTC, comment #1: 

Realized there are probably more scripts out there that use "#!/bin/env sh" or something like that and they won't match anymore either.

Aaron Sears <ixlandia>
Mon 17 Sep 2018 07:51:08 PM UTC, original submission:  

I'm working on an init script for an initramfs file using busybox. As such, the shebang line is "#!/bin/busybox sh". The regex match in sh.nanorc was changed and a "/" was added before "(*)sh" so it no longer matches.
Maybe it wasn't intended to match before, but it did.
I know this isn't a huge deal.. just thought people should be aware of Unintended Consequences.

Aaron Sears <ixlandia>

 

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

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 bens (Posted a comment)
  • -email is unavailable- added by ixlandia (Submitted the item)
  •  

    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.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-09-19 bens Open/ClosedOpen Closed
    2018-09-18 bens Severity3 - Normal 2 - Minor
        StatusNone Fixed
        Assigned toNone bens
        Summarysystax file sh.nanorc no longer matches #!/bin/busybox sh syntax file sh.nanorc no longer matches #!/bin/busybox sh

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code