GREP_OPTIONS breaks wajig

Bug #540733 reported by Lesmana Zimmer on 2010-03-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wajig (Ubuntu)

Bug Description

Binary package hint: wajig

using ubuntu karmic
wajig version 2.0.43

$ GREP_OPTIONS= wajig status grep
Package Installed Previous Now State
grep 2.5.4-4 2.5.4-4 2.5.4-4 install

$ GREP_OPTIONS="--line-number" wajig status grep
Package Installed Previous Now State
5594:grep N/A 2.5.4-4 2.5.4-4

wajig should make sure to unset GREP_OPTIONS before using grep

Lesmana Zimmer (lesmana) wrote :

argh. the output is garbled by non-fixed-width fonts :(

let me attach a textfile.

the error is visible in the last line:
* the package name is "5594:grep" (5594 must be the line number of the output which wajig greped)
* the installed version is N/A although grep is installed
* the remaining columns are very likely shifted to the right by one or something

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments