[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #56820] Translation issue

From: anonyme
Subject: [bug #56820] Translation issue
Date: Tue, 27 Aug 2019 20:05:27 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/76.0.3809.100 Chrome/76.0.3809.100 Safari/537.36


                 Summary: Translation issue
                 Project: findutils
            Submitted by: None
            Submitted on: mer. 28 août 2019 00:05:26 UTC
                Category: find
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Roger B.
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.6.0
           Fixed Release: None



1. version of findutils

find (GNU findutils)
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Eric B. Decker, James Youngman, and Kevin Dalley.
Fonctions activées : D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION

2. what you were trying to do

Find every regular file in the upper level directory with a maxdepth of 1 to
apply on them a call to grep

3. the exact command line that you used

$ find .. -type f -maxdepth 1 -exec grep -Hin rasoir {} \;

4. what you expected to happen

Get my result or at least a meaningful error message, instead of that I got a
very curious error (or rather warning) message saying that I was not using
-maxdepth after -find. 

5. precisely what did happen.

Here is the exact message :

$ find .. -type f -maxdepth 1 -exec grep -Hin rasoir {} \;
find: attention : vous avez spécifié l'option -maxdepth après un argument
qui n'est pas une option -type mais les options sont positionnelles (-maxdepth
affecte les tests spécifiés avant aussi bien qu'après). SVP spécifiez les
options avant les autres arguments.

so I used LC_ALL ennvironment variable to get the English message and as a
result I got to understand what was the real meaning of the message

$ LC_ALL=en_US find .. -type f -maxdepth 1 -exec grep -Hin rasoir {} \;
find: warning: you have specified the -maxdepth option after a non-option
argument -type, but options are not positional (-maxdepth affects tests
specified before it as well as those specified after it).  Please specify
options before other arguments.

Which is what I did and got the expected result without any warning just by
exchanging the position of -maxdepth and -type. In order to make the message
more meaningful in French I suggest the use of ',' or '(',')', or even
rewriting the sentence.


Reply to this item at:


  Message posté via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]