Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-10496

Remove ignored xargs option in s_style

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.2.0, 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 1
    • StorEng - 2023-01-24

      After I upgraded my distro to ubuntu2204 I started getting this warning while running s_style:

      xargs: warning: options --max-args and --replace/-I/-i are mutually exclusive, ignoring previous --max-args value
      

      This warning appears as line 36 of s_style calls xargs with invalid options:

          xargs $xp -n 1 -I{} sh ./dist/s_style {}
      

      The n 1 is specifying -max-args 1 which then gets overrided by -I so we should remove the -n 1.

            Assignee:
            luke.pearson@mongodb.com Luke Pearson
            Reporter:
            luke.pearson@mongodb.com Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: