<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" id="owaParaStyle">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">> This “| xargs” at the end seems redundant. xargs what? xargs is used to run a command on each word of > the input..
</div>
<br>
It forces the words into one line:<br>
<br>
$ echo "zebra fox elephant elephant lion wolf fox " | xargs -n1 | sort -u | xargs<br>
elephant fox lion wolf zebra<br>
<br>
$echo "zebra fox elephant elephant lion wolf fox " | xargs -n1 | sort -u <br>
elephant<br>
fox<br>
lion<br>
wolf<br>
zebra<br>
<br>
<br>
</div>
</div>
</div>
</div>
</div>
</body>
</html>