in reply to Re^5: parsing output of UNIX `who` command (golf)
in thread parsing output of UNIX `who` command
with no opening curly brace I don't understand why its there. Its even more odd in the golf:while(<>){ / /, $;{$`}++ } print $_, $/ ^= "*" for % } # <--- this hanging bit
in any event, thank you very much for the very excellent explanation. I have to go read more about XOR now.... ;) blahblahwho|perl -ne'/ /,$;{$`}++}{print$_,$/^="*"for%' ^^^^ what?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: parsing output of UNIX `who` command (golf)
by chargrill (Parson) on Oct 10, 2006 at 00:59 UTC | |
by blahblah (Friar) on Oct 10, 2006 at 14:58 UTC | |
by shmem (Chancellor) on Oct 19, 2006 at 16:38 UTC |