[Bug 135086] Re: zipgrep: exit code always 0

2011-08-10 Thread Bug Watch Updater
** Changed in: unzip (Debian) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/135086 Title: zipgrep: exit code always 0 To manage notifications about this bug

[Bug 135086] Re: zipgrep: exit code always 0

2007-12-13 Thread Daniel Holbach
Fixed in Hardy. ** Changed in: unzip (Ubuntu) Status: Fix Committed = Fix Released -- zipgrep: exit code always 0 https://bugs.launchpad.net/bugs/135086 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs

[Bug 135086] Re: zipgrep: exit code always 0

2007-12-07 Thread Martin Pitt
Sorry, but this is not appropriate for an SRU. It's neither a critical bug nor a regression from a previous release (feisty's zipgrep behaved the same). Admittedly it is a bug, but we should not change the behaviour of tools which are likely used in custom scripts within a stable release. People

[Bug 135086] Re: zipgrep: exit code always 0

2007-12-06 Thread Chris Cheney
I can upload it to gutsy-proposed but that seems to be more reserved for bugs with large impact. -- zipgrep: exit code always 0 https://bugs.launchpad.net/bugs/135086 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs

[Bug 135086] Re: zipgrep: exit code always 0

2007-12-06 Thread Chris Cheney
** Attachment added: unzip_5.52-10ubuntu1.1.debdiff http://launchpadlibrarian.net/10769731/unzip_5.52-10ubuntu1.1.debdiff ** Description changed: Binary package hint: unzip For example, the -q option becomes worthless when the found status is not reflected in the exit code from

[Bug 135086] Re: zipgrep: exit code always 0

2007-12-03 Thread Daniel Holbach
Chris, Brandon? What do we do about Gutsy? I'm not sure it's as super- ultra-urgent as StableReleaseUpdates demands. -- zipgrep: exit code always 0 https://bugs.launchpad.net/bugs/135086 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for

[Bug 135086] Re: zipgrep: exit code always 0

2007-11-18 Thread Brandon Holtsclaw
** Changed in: unzip (Ubuntu) Assignee: (unassigned) = Brandon Holtsclaw (imbrandon) Status: Triaged = In Progress -- zipgrep: exit code always 0 https://bugs.launchpad.net/bugs/135086 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug

[Bug 135086] Re: zipgrep: exit code always 0

2007-11-18 Thread Brandon Holtsclaw
Fix uploaded to Hardy with one small change , Bash is Priority:Required ( user accounts default to a bash shell ) so it was removed from the depends will look at the viability for a gutsy SRU now ** Changed in: unzip (Ubuntu) Status: In Progress = Fix Committed -- zipgrep: exit code

[Bug 135086] Re: zipgrep: exit code always 0

2007-10-09 Thread Niklas Klein
I changed zipgrep to use /usr/bin/bash as era pointed out to me. I didn't change the Depends field because bash has priority required, as far as i understand, that means it will be installed on every system? If this is ok, could you resubscribe ubuntu-main-sponsors era? ** Attachment added:

[Bug 135086] Re: zipgrep: exit code always 0

2007-10-09 Thread era
Me? I guess that would be Daniel's task; I have no idea what the criteria for resubscribing should be (but this would seem okay to me). -- zipgrep: exit code always 0 https://bugs.launchpad.net/bugs/135086 You received this bug notification because you are a member of Ubuntu Bugs, which is the

[Bug 135086] Re: zipgrep: exit code always 0

2007-10-09 Thread Daniel Holbach
ubuntu-minimal Depends on it. I think bash can be safely removed. I think a Depends is in order, although I'm not 100% sure. -- zipgrep: exit code always 0 https://bugs.launchpad.net/bugs/135086 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact

[Bug 135086] Re: zipgrep: exit code always 0

2007-10-09 Thread Niklas Klein
Ok this patch version add bash to the depends field ** Attachment added: unzip_5.52-10ubuntu2.debdiff http://launchpadlibrarian.net/9892706/unzip_5.52-10ubuntu2.debdiff -- zipgrep: exit code always 0 https://bugs.launchpad.net/bugs/135086 You received this bug notification because you are a

[Bug 135086] Re: zipgrep: exit code always 0

2007-10-08 Thread era
... So to reiterate, for the PIPESTATUS thing to fly you'd have to do --- debian/control -Depends: whatever +Depends: whatever, bash and --- zipgrep -#!/bin/sh +#!/usr/bin/bash Like I wrote before, not sure about the Depends: change, as Bash may still be Priority: essential or whatever it is

[Bug 135086] Re: zipgrep: exit code always 0

2007-10-08 Thread Daniel Holbach
Unsubscribing ubuntu-main-sponsors until patch is ready. -- zipgrep: exit code always 0 https://bugs.launchpad.net/bugs/135086 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list

[Bug 135086] Re: zipgrep: exit code always 0

2007-10-05 Thread era
Just a quick note that I'm still working on it. However, my conclusion is that the overall design is flawed, and that the PIPESTATUS hack is probably the way to go for Ubuntu. I'll see about convincing upstream to take my full reimplementation ... If anybody can shed light on how to get the

[Bug 135086] Re: zipgrep: exit code always 0

2007-10-01 Thread Daniel Holbach
** Changed in: unzip (Ubuntu) Assignee: Chris Cheney (ccheney) = (unassigned) -- zipgrep: exit code always 0 https://bugs.launchpad.net/bugs/135086 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list

[Bug 135086] Re: zipgrep: exit code always 0

2007-09-28 Thread Niklas Klein
era, you are right, i have tested with dash, and it is a bashism :-( -- zipgrep: exit code always 0 https://bugs.launchpad.net/bugs/135086 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list

[Bug 135086] Re: zipgrep: exit code always 0

2007-09-28 Thread era
Duh, my gifted refactored script doesn't understand the -q option any better than the original! I'm working on the option processing after all, I'll just write some test cases for myself. Poke me if I don't remember to submit it here within a week or so. -- zipgrep: exit code always 0

[Bug 135086] Re: zipgrep: exit code always 0

2007-09-27 Thread era
Cringe, that script could definitely use some heavy refactoring. Attached please find an attempt to rewrite the main loop. Somebody should probably take the time to fix the option processing too. There is some heavy refactoring in there, in order to make the main loop small and neat. It's not

[Bug 135086] Re: zipgrep: exit code always 0

2007-09-26 Thread era
Have you tested this with /bin/dash? I believe PIPESTATUS is a Bashism so you would have to update the shebang line to read #!/usr/bin/bash if I'm not mistaken (and declare a dependency on Bash? Not sure, just a quick shot from the hip really ...) -- zipgrep: exit code always 0

[Bug 135086] Re: zipgrep: exit code always 0

2007-09-14 Thread Bug Watch Updater
** Changed in: unzip (Debian) Status: New = Confirmed -- zipgrep: exit code always 0 https://bugs.launchpad.net/bugs/135086 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list

[Bug 135086] Re: zipgrep: exit code always 0

2007-09-13 Thread Bug Watch Updater
** Changed in: unzip (Debian) Status: Unknown = New -- zipgrep: exit code always 0 https://bugs.launchpad.net/bugs/135086 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list

[Bug 135086] Re: zipgrep: exit code always 0

2007-09-12 Thread Daniel Holbach
Chris, can you take a look at this one? Niklas: do you think you can forward the patch upstream? ** Changed in: unzip (Ubuntu) Assignee: (unassigned) = Chris Cheney -- zipgrep: exit code always 0 https://bugs.launchpad.net/bugs/135086 You received this bug notification because you are a

[Bug 135086] Re: zipgrep: exit code always 0

2007-09-12 Thread Niklas Klein
I have forwarded the bug to debian http://bugs.debian.org/cgi- bin/bugreport.cgi?bug=441997 and send a bugreport to info-zip.org ** Bug watch added: Debian Bug tracker #441997 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=441997 ** Also affects: unzip (Debian) via

[Bug 135086] Re: zipgrep: exit code always 0

2007-09-10 Thread Scott Kitterman
One other minor thing is that lines in debian/changelog should not go over 80 characters. Please update the debdiff again. Thanks for working on this. These details get easier with practice. Also, althogh your debian/changelog reference to the bug would work, the preferred form is (LP:

[Bug 135086] Re: zipgrep: exit code always 0

2007-09-10 Thread Niklas Klein
Thanks for your advise Scott. I changed this in the changelog. ** Attachment added: unzip_5.52-10ubuntu2.debdiff http://launchpadlibrarian.net/9202484/unzip_5.52-10ubuntu2.debdiff -- zipgrep: exit code always 0 https://bugs.launchpad.net/bugs/135086 You received this bug notification because

[Bug 135086] Re: zipgrep: exit code always 0

2007-09-10 Thread Scott Kitterman
** Changed in: unzip (Ubuntu) Assignee: Niklas Klein = Scott Kitterman Status: Triaged = In Progress -- zipgrep: exit code always 0 https://bugs.launchpad.net/bugs/135086 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu.

[Bug 135086] Re: zipgrep: exit code always 0

2007-09-10 Thread Scott Kitterman
unzip is in Main, not Universe. Subscribing Ubuntu Main Sponsors. ** Changed in: unzip (Ubuntu) Assignee: Scott Kitterman = (unassigned) Status: In Progress = Triaged -- zipgrep: exit code always 0 https://bugs.launchpad.net/bugs/135086 You received this bug notification because

[Bug 135086] Re: zipgrep: exit code always 0

2007-09-07 Thread Niklas Klein
Sorry this is the first time i am patching a package. I just learned how to refer to bugs in lunchpad from the changelog. Therefor i updated my debdiff to a hopefully better formulation in the changelog. ** Attachment added: unzip_5.52-10ubuntu2.debdiff

[Bug 135086] Re: zipgrep: exit code always 0

2007-09-05 Thread Daniel Holbach
Hello Ian: could you please review the change and upload if it's ok? ** Changed in: unzip (Ubuntu) Assignee: (unassigned) = Ian Jackson -- zipgrep: exit code always 0 https://bugs.launchpad.net/bugs/135086 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 135086] Re: zipgrep: exit code always 0

2007-09-03 Thread Niklas Klein
** Attachment added: unzip_5.52-9ubuntu4.debdiff http://launchpadlibrarian.net/9096845/unzip_5.52-9ubuntu4.debdiff -- zipgrep: exit code always 0 https://bugs.launchpad.net/bugs/135086 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for

[Bug 135086] Re: zipgrep: exit code always 0

2007-09-03 Thread Niklas Klein
sorry the other/older debdiff was for feisty. this one is for the latest gutsy source ** Attachment added: unzip_5.52-10ubuntu2.debdiff http://launchpadlibrarian.net/9097155/unzip_5.52-10ubuntu2.debdiff -- zipgrep: exit code always 0 https://bugs.launchpad.net/bugs/135086 You received this

[Bug 135086] Re: zipgrep: exit code always 0

2007-08-31 Thread Niklas Klein
The problem is, that the zipgrep script uses a pipe: unzip -p-L $zipfile $i | egrep $opt $pat | sed s|^|${i}:| and than save the exit code with r=$?, which is the exit code of sed not of egrep. I have d patch to replace r=$? with r=${PIPESTATUS[1]}. It works for me ** Attachment added: fix for