Remove ignored xargs option in s_style

XMLWordPrintableJSON

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

      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
              Reporter:
              Luke Pearson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: