<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Efficiency.<br>
    sort is O(n lg n), an awk solution should be O(n)<br>
    <br>
    John<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 11/21/15 10:56 AM, AL F wrote:<br>
    </div>
    <blockquote
cite="mid:CA+Jq52c4hjcpsOv1UwFCCrFjKPfUJVw9L7JnuTJq2r3zkJhf1w@mail.gmail.com"
      type="cite">
      <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 moz-do-not-send="true"
                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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
<a class="moz-txt-link-abbreviated" href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>