bug-findutils
[Top][All Lists]
Advanced

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

[bug #61664] Messy output using xargs -P


From: Kirill Zhdanov
Subject: [bug #61664] Messy output using xargs -P
Date: Mon, 13 Dec 2021 00:04:59 -0500 (EST)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?61664>

                 Summary: Messy output using xargs -P
                 Project: findutils
            Submitted by: storenth
            Submitted on: Пн 13 дек 2021 05:04:57
                Category: xargs
                Severity: 3 - Normal
              Item Group: Wrong result
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 4.7.0
         Discussion Lock: Any
           Fixed Release: None

    _______________________________________________________

Details:

*Steps to reproduce*:
1. Call the next line:
xargs -P10 -n1 -I {} grep -oiE "^https?://(([[:alnum:][:punct:]]+)+)?{}="
./filtered_fetched_list.txt < ./params-list.txt | sort -u | head -n 10

*Expected result*: output entries contains http(s) start with string.
*Actual behavior*: output entries doesn’t contain http(s)
*Workaround*: using xargs with process count by default (without -P argument).



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Пн 13 дек 2021 05:04:57  Name: xargs-p-issue.png  Size: 423КиБ  
By: storenth

<http://savannah.gnu.org/bugs/download.php?file_id=52490>
-------------------------------------------------------
Date: Пн 13 дек 2021 05:04:57  Name: params-list.txt  Size: 19КиБ  
By: storenth

<http://savannah.gnu.org/bugs/download.php?file_id=52491>
-------------------------------------------------------
Date: Пн 13 дек 2021 05:04:57  Name: xargs-without-p.png  Size: 483КиБ
  By: storenth

<http://savannah.gnu.org/bugs/download.php?file_id=52492>
-------------------------------------------------------
Date: Пн 13 дек 2021 05:04:57  Name: filtered_fetched_list.txt  Size:
66КиБ   By: storenth

<http://savannah.gnu.org/bugs/download.php?file_id=52493>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61664>

_______________________________________________
  Сообщение отправлено по Savannah
  https://savannah.gnu.org/




reply via email to

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