<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 30, 2015 at 7:06 PM, Saul Alanis <span dir="ltr"><<a href="mailto:sdalano@gmail.com" target="_blank">sdalano@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p dir="ltr">2 | <span class="GINGER_SOFTWARE_mark" id="00a7855c-7f58-48d3-b32b-f2f0a78a19fe">foo</span> | bar<br>
4 | bar | <span class="GINGER_SOFTWARE_mark" id="cb183aa1-750b-4d36-85a3-c1c136431308">foo</span><br>
1 | bar | <span class="GINGER_SOFTWARE_mark" id="166650af-5c00-49c2-aaf5-8db3141dd3d5">foo</span><br>
3 | <span class="GINGER_SOFTWARE_mark" id="9fe25979-bc45-4876-89bc-6f89cfa124ba">foo</span> | bar</p></blockquote></div><br><br><div class="gmail_default" style="font-size:small">Why is <span class="GINGER_SOFTWARE_mark" id="4d60ff50-1ea4-4857-a938-48df343b8a4c">awk</span> a <span class="GINGER_SOFTWARE_mark" id="41084dc2-c33a-47cc-8634-b64ad098b2fe">reqirement</span>? Simply use the <span class="GINGER_SOFTWARE_mark" id="e3976727-975d-4939-82c4-6e353ddf5dfe">comand</span>:<br>sort -n YOURDATAFILEGOESHERE | tail -n 1 | cut -d\| -f1<br><br><br></div></div></div>