I want to do the inverse of sort(1) : randomize every line of stdin to stdout in Perl.
相关问题
- How to toggle on Order in ReactJS
- PHP Recursively File Folder Scan Sorted by Modific
- $ENV{$variable} in perl
- Change sort order of strings includes with a speci
- Unity - Get Random Color at Spawning
相关文章
- Sort TreeView Automatically Upon Adding Nodes
- why 48 bit seed in util Random class?
- Running a perl script on windows without extension
- Making new files automatically executable?
- Reverse four length of letters with sed in unix
- Comparing speed of non-matching regexp
- Can NOT List directory including space using Perl
- Need help generating discrete random numbers from
This perl snippet does the trick :
Or if you worry about last lines lacking \n,
I bet real Perl hackers will tear this apart, but here it goes nonetheless.
Difference between this and the other solution: