http://www.perlmonks.org?node_id=1017480


in reply to Re: Golf: reverse sort /etc/passwd by UID
in thread Golf: reverse sort /etc/passwd by UID

Cool (and sneaky)!

--MidLifeXis

  • Comment on Re^2: Golf: reverse sort /etc/passwd by UID

Replies are listed 'Best First'.
Re^3: Golf: reverse sort /etc/passwd by UID
by Tommy (Chaplain) on Feb 06, 2013 at 22:02 UTC

    I'm not clear on how it sorts on a field in the text while at the same time appending the text to the field which is sorted. What am I missing here?

    Tommy
    A mistake can be valuable or costly, depending on how faithfully you pursue correction
      at the same time
      Nothing is happening at the same time. The steps shown by MidLifeXis are ordered (maybe <ol> would have been better than <ul>). First, the text is concatenated, then it is sorted.
      لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

        maybe <ol> would have been better than <ul>
        Agreed, and changed.

        --MidLifeXis