bugtexinfo - GNU documentation system - Bugs: bug #45913, MSYS gawk does not like \(CR) due...

 
 

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

bug #45913: MSYS gawk does not like \(CR) due to texindex SVN not keeping Linux EOL

Submitted by:  Vincent Belaïche <vincentb1>
Submitted on:  Thu 10 Sep 2015 06:45:10 AM UTC  
 
Category: NoneRelease: 
Priority: 5 - NormalSeverity: 3 - Normal
Item Group: NonePrivacy: Public
Open/Closed: ClosedAssigned to: None
Status: Wont Fix

Thu 10 Sep 2015 09:20:32 PM UTC, comment #2:

to underline gavin's reply:
what we (actually arnold) wrote is valid awk for any remotely current version (according to him). working around an msys bug by propset in the repository seems 100% wrong to me.

in general: vincent, must you use msys? catering to this old dos-based (not to mention nonfree) system everywhere in the source is a nontrivial complication that affects overall maintainability for the worse.

k

Karl Berry <karl>
Project Administrator
Thu 10 Sep 2015 03:32:01 PM UTC, comment #1:

The texindex script cannot be run with MSYS Gawk anyway, because that Gawk is too old, and doesn't support the features texindex needs. Use the native Windows build of Gawk instead. You can use the TEXINDEX_AWK environment variable for that, like this:

TEXINDEX_AWK=/x/foo/bar/bin/gawk.exe texindex ...

You can find the native build of the latest Gawk on the ezwinports site. Or build it yourself, it is very simple.

Eli Zaretskii <eliz>
Project Member
Thu 10 Sep 2015 06:45:10 AM UTC, original submission:

Well, it is probably as much a bug of MSYS gawk as of texindex.awk, but what happens is the following: in the usage function there is this line of code:

If I run texindex as it is, then I get the following error:

Well, if now I just do this:

Then, it works fine.

My conclusion is that you should do somewhere :

Another option is to avoid in-string line folding.

Vincent Belaïche <vincentb1>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gavin (Updated the item)
  • -unavailable- added by karl (Posted a comment)
  • -unavailable- added by eliz (Posted a comment)
  • -unavailable- added by vincentb1 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 21 Feb 2016 02:34:17 PM UTCgavinSummaryMSYS gawk does not like \\(CR) due to texindex SVN not keeping Linux EOL=>MSYS gawk does not like \(CR) due to texindex SVN not keeping Linux EOL
      Open/ClosedOpen=>Closed
      StatusNone=>Wont Fix
    Thu 10 Sep 2015 09:20:32 PM UTCkarlSummaryMSYS gawk does not like \\(CR) due to texindex SVN not keeping Linux EOL=>MSYS gawk does not like \(CR) due to texindex SVN not keeping Linux EOL
    Thu 10 Sep 2015 03:32:01 PM UTCelizSummaryMSYS gawk does not like \\(CR) due to texindex SVN not keeping Linux EOL=>MSYS gawk does not like \(CR) due to texindex SVN not keeping Linux EOL

    Back to the top


    Powered by Savane 3.1-cleanup1