Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#37356 - [highlight] syntax preview broken

Attached to Project: Community Packages
Opened by Marko Rakamaric (markoer) - Wednesday, 16 October 2013, 12:03 GMT
Last edited by Florian Pritz (bluewind) - Friday, 18 October 2013, 16:18 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Florian Pritz (bluewind)
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Using comunity version highlight-3.16-1 for previeving and syntax highlighting bash or sh files, is not as expected. highlited file is presented as "*token*" stuff, without actual file content

Additional info:
* highlight-3.16-1-i686.pkg.tar.xz

Steps to reproduce:
1. navigate to the bash or sh file
2. execute highlight --out-format=ansi filename
3. stdout show only "*token*" stuff without presenting normal file content

Expected behavior:
1. navigate to the bash or sh file
2. execute highlight --out-format=ansi filename
3. stdout show actual file content with highlighted syntax
This task depends upon

Closed by  Florian Pritz (bluewind)
Friday, 18 October 2013, 16:18 GMT
Reason for closing:  Upstream
Comment by Florian Pritz (bluewind) - Friday, 18 October 2013, 15:35 GMT
This is not a packaging bugs so please contact upstream. I can't/won't fix it.

Upstream tracker: http://sourceforge.net/p/syntaxhighlight/bugs/
Comment by Marko Rakamaric (markoer) - Friday, 18 October 2013, 16:14 GMT
thx, I'll report to upstream

EDIT:
fix is located in sh.lang file, which has debuging mode on using print statement, so removing that line fixes issue.

Loading...