Debian Bug report logs - #370057
findutils: find -nowarn useless when you need it

version graph

Package: findutils; Maintainer for findutils is Andreas Metzler <ametzler@debian.org>; Source for findutils is src:findutils (PTS, buildd, popcon).

Reported by: gambarimasu+reportbug@gmail.com

Date: Fri, 2 Jun 2006 23:18:20 UTC

Severity: normal

Tags: fixed-upstream

Found in version findutils/4.2.27-3

Fixed in versions findutils/4.3.5-1, findutils/4.4.0-1

Done: Andreas Metzler <ametzler@debian.org>

Bug is archived. No further changes may be made.

Forwarded to http://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=16744

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, gambarimasu+reportbug@gmail.com, Andreas Metzler <ametzler@debian.org>:
Bug#370057; Package findutils. (full text, mbox, link).


Acknowledgement sent to gambarimasu+reportbug@gmail.com:
New Bug report received and forwarded. Copy sent to gambarimasu+reportbug@gmail.com, Andreas Metzler <ametzler@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: gambarimasu+reportbug@gmail.com
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: findutils: find -nowarn useless when you need it
Date: Fri, 02 Jun 2006 16:11:09 -0700
Package: findutils
Version: 4.2.27-3
Severity: normal


afaik, you mostly need -nowarn when you can't change where options go.
this occurs when you have something like this:

afind () {	#archive find with -depth and maybe other cpio/afio features
#sort -ru?
        #nowarn is just for command line option syntax things
        find "${@:?}" -depth
}

but this version of find will give the warning even if you put -nowarn
in front of -depth.  you cannot put it anywhere else.

my suggested fix is to allow -nowarn anywhere on the command line.

thanks.

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16myver
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages findutils depends on:
ii  libc6                         2.3.6-7    GNU C Library: Shared libraries

findutils recommends no packages.

-- no debconf information



Noted your statement that Bug has been forwarded to http://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=16744. Request was from Andreas Metzler <ametzler@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Message sent on to gambarimasu+reportbug@gmail.com:
Bug#370057. (full text, mbox, link).


Message #10 received at 370057-submitter@bugs.debian.org (full text, mbox, reply):

From: Andreas Metzler <INVALID.NOREPLY@gnu.org>
To: 370057-submitter@bugs.debian.org, Andreas Metzler <gnu@downhill.at.eu.org>, bug-findutils@gnu.org
Subject: [bug #16744] -nowarn produces a warning if specified after non-option
Date: Sat, 3 Jun 2006 19:14:46 +0200
URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16744>

                 Summary: -nowarn produces a warning if specified after
non-option
                 Project: findutils
            Submitted by: ametzler
            Submitted on: Samstag 03.06.2006 um 19:14
                Category: find
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 4.2.27
           Fixed Release: None

    _______________________________________________________

Details:

ametzler@argenau:~$ find /tmp/find-4.1.20-6 -print -nowarn
find: warning: you have specified the -nowarn option after a non-option
argument -print, but options are not positional (-nowarn affects tests
specified before it as well as those specified after it).  Please specify
options before other arguments.

It seems to be strange that -nowarn can trigger the warning, I tend to agree
with the original submitter: "my suggested fix is to allow -nowarn anywhere
on the command line."

http://bugs.debian.org/370057



    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
370057-submitter@bugs.debian.org    | 




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16744>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/




Message sent on to gambarimasu+reportbug@gmail.com:
Bug#370057. (full text, mbox, link).


Message #13 received at 370057-submitter@bugs.debian.org (full text, mbox, reply):

From: James Youngman <INVALID.NOREPLY@gnu.org>
To: 370057-submitter@bugs.debian.org, Andreas Metzler <gnu@downhill.at.eu.org>, James Youngman <jay@gnu.org>, bug-findutils@gnu.org
Subject: [bug #16744] -nowarn produces a warning if specified after non-option
Date: Thu, 15 Jun 2006 08:16:46 +0000
Update of bug #16744 (project findutils):

                  Status:                    None => Fixed                  
             Assigned to:                    None => jay                    

    _______________________________________________________

Follow-up Comment #1:

Fixed in 4.3.x (only, not 4.2.x)

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16744>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




Message sent on to gambarimasu+reportbug@gmail.com:
Bug#370057. (full text, mbox, link).


Message #16 received at 370057-submitter@bugs.debian.org (full text, mbox, reply):

From: James Youngman <INVALID.NOREPLY@gnu.org>
To: 370057-submitter@bugs.debian.org, Andreas Metzler <gnu@downhill.at.eu.org>, James Youngman <jay@gnu.org>, bug-findutils@gnu.org
Subject: [bug #16744] -nowarn produces a warning if specified after non-option
Date: Mon, 7 Aug 2006 09:45:30 +0000
Update of bug #16744 (project findutils):

             Open/Closed:                    Open => Closed                 
           Fixed Release:                    None => 4.3.1                  

    _______________________________________________________

Follow-up Comment #2:

4.3.1 is now released, fixing this problem

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16744>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




Tags added: fixed-upstream Request was from bts-link-upstream@lists.alioth.debian.org to control@bugs.debian.org. (full text, mbox, link).


Reply sent to Andreas Metzler <ametzler@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to gambarimasu+reportbug@gmail.com:
Bug acknowledged by developer. (full text, mbox, link).


Message #23 received at 370057-close@bugs.debian.org (full text, mbox, reply):

From: Andreas Metzler <ametzler@debian.org>
To: 370057-close@bugs.debian.org
Subject: Bug#370057: fixed in findutils 4.3.5-1
Date: Sun, 13 May 2007 17:47:03 +0000
Source: findutils
Source-Version: 4.3.5-1

We believe that the bug you reported is fixed in the latest version of
findutils, which is due to be installed in the Debian FTP archive:

findutils_4.3.5-1.diff.gz
  to pool/main/f/findutils/findutils_4.3.5-1.diff.gz
findutils_4.3.5-1.dsc
  to pool/main/f/findutils/findutils_4.3.5-1.dsc
findutils_4.3.5-1_i386.deb
  to pool/main/f/findutils/findutils_4.3.5-1_i386.deb
findutils_4.3.5.orig.tar.gz
  to pool/main/f/findutils/findutils_4.3.5.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 370057@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Metzler <ametzler@debian.org> (supplier of updated findutils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 13 May 2007 14:40:44 +0200
Source: findutils
Binary: findutils
Architecture: source i386
Version: 4.3.5-1
Distribution: experimental
Urgency: low
Maintainer: Andreas Metzler <ametzler@debian.org>
Changed-By: Andreas Metzler <ametzler@debian.org>
Description: 
 findutils  - utilities for finding files--find, xargs, and locate
Closes: 21084 291419 354384 370057 400936 403823 412459 420190
Changes: 
 findutils (4.3.5-1) experimental; urgency=low
 .
   * New upstream version.
     - Better error message if the second operand of a binary operator is
       missing. (Closes: #403823)
     - If locatedb is old show actual age in warning mesage instead of just
       saying "more than 8 days old". (Closes: #354384)
     - Do not show warnings about argument ordering if -nowarn is specified.
       (Closes: #370057)
     - Correct docs for %b printf specifier. (Closes: #400936)
     - [-version] instead of [--version] in locate --help. (Closes: #412459)
     - make clean does not delete regexprops.texi if cross-building.
       (Closes: #420190)
     - Different error message on 'find ""'. (Closes: #21084)
     - Support for *BSDs -newerXY tests allows to find files with a date in the
       future without generating a temporary file. "find -newermt 2007-07-07"
       (Closes: #291419)
   * Undo workaround for savannah #19550, since it is a glibc bug.
Files: 
 3888ad33fac7e8618724af7181a7ae21 660 utils required findutils_4.3.5-1.dsc
 52138c6834208506a5dd70c9701f90e8 1726358 utils required findutils_4.3.5.orig.tar.gz
 6c91c88107b6fd172b449ad79b05c4c8 14695 utils required findutils_4.3.5-1.diff.gz
 7b081f5a02d3dccd3e5e6dc5a54cb94b 577666 utils required findutils_4.3.5-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGR0p6HTOcZYuNdmMRAmCAAJ4zvTdwLFI+V1iR8jIiEWCGSGqaewCeLPYa
QCRgyNfyRSdMshIVZE2FFd0=
=ItfQ
-----END PGP SIGNATURE-----




Reply sent to Andreas Metzler <ametzler@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to gambarimasu+reportbug@gmail.com:
Bug acknowledged by developer. (full text, mbox, link).


Message #28 received at 370057-close@bugs.debian.org (full text, mbox, reply):

From: Andreas Metzler <ametzler@debian.org>
To: 370057-close@bugs.debian.org
Subject: Bug#370057: fixed in findutils 4.4.0-1
Date: Sat, 15 Mar 2008 18:32:03 +0000
Source: findutils
Source-Version: 4.4.0-1

We believe that the bug you reported is fixed in the latest version of
findutils, which is due to be installed in the Debian FTP archive:

findutils_4.4.0-1.diff.gz
  to pool/main/f/findutils/findutils_4.4.0-1.diff.gz
findutils_4.4.0-1.dsc
  to pool/main/f/findutils/findutils_4.4.0-1.dsc
findutils_4.4.0-1_i386.deb
  to pool/main/f/findutils/findutils_4.4.0-1_i386.deb
findutils_4.4.0.orig.tar.gz
  to pool/main/f/findutils/findutils_4.4.0.orig.tar.gz
locate_4.4.0-1_i386.deb
  to pool/main/f/findutils/locate_4.4.0-1_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 370057@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Metzler <ametzler@debian.org> (supplier of updated findutils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 15 Mar 2008 16:26:43 +0100
Source: findutils
Binary: findutils locate
Architecture: source i386
Version: 4.4.0-1
Distribution: unstable
Urgency: low
Maintainer: Andreas Metzler <ametzler@debian.org>
Changed-By: Andreas Metzler <ametzler@debian.org>
Description: 
 findutils  - utilities for finding files--find, xargs
 locate     - maintain and query an index of a directory tree
Closes: 21084 291419 336078 354384 370057 403823 438689 460733 470308
Changes: 
 findutils (4.4.0-1) unstable; urgency=low
 .
   * New upstream stable version.
     + Some fixes for the texinfo manuals. (Closes: #470308)
   * First upload to unstable, close bugs fixed by previous uploads to
     experimental:
     + POSIX is going to or has already standardized -[i]path. Stop throwing a
       warning sugging to use -[i]wholename instead. Closes: #336078
     + Better error message if the second operand of a binary operator is
       missing. (Closes: #403823)
     + #22056: -Xtime tests are off by one second (e.g. rm -f x; touch x;
       find x -mtime 0 should print x). Closes: #460733
     + If locatedb is old show actual age in warning mesage instead of just
       saying "more than 8 days old". (Closes: #354384)
     + Do not show warnings about argument ordering if -nowarn is specified.
       (Closes: #370057)
     + find -execdir will not segfault if PATH is not set. Closes: #438689
     + Different error message on 'find ""'. (Closes: #21084)
     + Support for *BSDs -newerXY tests allows to find files with a date in the
       future without generating a temporary file. "find -newermt 2007-07-07"
       (Closes: #291419)
   * Stop trying to install removed README-alpha.
   * Point watchfile to ftp.gnu.org instead of alpha.gnu.org.
   * Use doc-base section "File Management", since Apps/Tools is gone.
   * Only run $(MAKE) distclean if Makefile exists.
   * Symlink find(1) to oldfind(1) manpage.
Files: 
 3b692103c11b50aab7e2338c3fca4342 837 utils required findutils_4.4.0-1.dsc
 49e769ac4382fae6f104f99d54d0a112 2029809 utils required findutils_4.4.0.orig.tar.gz
 844f8edeeeae48ec460a9bab834bd39d 19810 utils required findutils_4.4.0-1.diff.gz
 41fba4255813bb70b7bd0b24b441f73b 541112 utils required findutils_4.4.0-1_i386.deb
 e497e231914a043e1f998dbe4760bb41 148844 utils optional locate_4.4.0-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH3BN5HTOcZYuNdmMRAkZrAKCJsCs0rSuUvweoReMRSjJHkovgyACfa1Yj
TjKdUEmEPPoyxLmASoJp2HE=
=q6pf
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 27 Apr 2009 07:34:27 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Dec 23 16:48:23 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.