The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

 $0 -s seed   

 [用途と使い方] What it does? 

 各行をシャッフルする。 Shuffles the STDIN. 

 [オプション]

 -= : 入力の1行目はそのまま出力し、シャッフルの対象とはしない。Just throw the 1st line input. Shuffle starts from 2nd.
 -g num : データとして最大何行を出力するかの指定。負の数を指定すると、その絶対値で何個を省力するかの指定になる。(how many lines to Get.)
 -: : 各行の先頭に、何番目のデータから来たかを表示。 (numbering from where) 
 -s : 乱数のシードを指定する。 (random Seed -- for reproducibility.)
 -q : 乱数シード情報を出さない。(Quiet ; no secondary information such as the seed. )
 -0 : -g N により指定個数を取り出すが、シャッフルしないで順番通りに出力する。(no shuffle. Combining -g option is useful.)

 --help     : ヘルプを表示する
 --help opt : このコマンドのオプションの説明のみを表示する。
 --version  : バージョン情報を表示する。