Skip to content

a tool for shuffling lines of text

License

Notifications You must be signed in to change notification settings

maikelrichard/shuffle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shuffle

This shuffle command reads an input text file, and writes shuffled lines. Output is set to standard output.

Example

Usage of C:\Users\rpereda\src\shuffle\shuffle.exe:
    shuffle [-seed N] <file>
    shuffle [-h] [-help]
<file> is a required input file.
This command reads an input text file, and writes shuffled lines.
Output is set to standard output.
  -seed int
        Optional random number seed (default 1)
$ cat temp.txt
1
2
3
4
5
6
7
8
9
10
$ .\shuffle temp.txt
2
8
5
1
10
3
4
6
9
7

Window 64-bit build is shuffle.exe. Linux 64-bit build is shuffle.

About

a tool for shuffling lines of text

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%