FS#33031 - [cowsay] backticks found where operator expected at /usr/share/cows/mech-and-cow line 12

Attached to Project: Arch Linux
Opened by gsc (xgdgsc) - Monday, 10 December 2012, 13:46 GMT
Last edited by Guillaume ALAUX (galaux) - Saturday, 15 December 2012, 22:12 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Guillaume ALAUX (galaux)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
mech-and-cow under /usr/share/cows/ doesn't work

Additional info:
* package version(s)
3.03-7

Steps to reproduce:

cowsay -f mech-and-cow message 

it will give error like this:
Backticks found where operator expected at /usr/share/cows/mech-and-cow line 12, near "^__^ / /'| `"
(Might be a runaway multi-line `` string starting on line 10)
(Missing semicolon on previous line?)
Backslash found where operator expected at /usr/share/cows/mech-and-cow line 13, near ")\"
(Missing operator before \?)
Backticks found where operator expected at /usr/share/cows/mech-and-cow line 15, at end of line
(Missing semicolon on previous line?)
cowsay: Can't find string terminator "`" anywhere before EOF at /usr/share/cows/mech-and-cow line 15.

Suggestion: just remove mech-and-cow file from the package.

This task depends upon

Closed by  Guillaume ALAUX (galaux)
Saturday, 15 December 2012, 22:12 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 3.03-8
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 11 December 2012, 07:15 GMT
IMO, it's weird that this package is in [extra] instead of [community]. Also, no [extra] package depends on it. But, what can one say, it's cowsay.
Comment by Guillaume ALAUX (galaux) - Saturday, 15 December 2012, 22:11 GMT
It turns out the 'mech-and-cow' file does not follow the expected file format. It does not even have the '.cow' extension.
Debian re-adds it by patching :) [0]. So yeah I just removed it from the package.

[0] http://patch-tracker.debian.org/patch/series/view/cowsay/3.03+dfsg1-4/mech-and-cow

Loading...