[UP]


Manual Reference Pages  - _shuf (1)

NAME

_shuf - [FUNIX] generate random permutations (LICENSE:PD)

CONTENTS

Synopsis
Description
Examples
Author
License

SYNOPSIS

syntax:

   _shuf FILES(s)   [ -n]
   _shuf STRINGS -e [ -n]
   _shuf -i LO-HI   [ -n]

DESCRIPTION

Write a random permutation of the input lines to standard output.
FILES(s)
  files to use as input
-e treat each ARG as an input line
-i LO HI
  treat each number LO through HI as an input line
-n output at most COUNT lines (per file)
--help display this help and exit
--version
  output version information and exit

EXAMPLES

Sample usage:

   # generate a random number from 0 to 100
   _shuf -i 0 100 -n 1
   # randomly select xterm(1) color
   xterm -bg ‘_shuf -e green black gray blue -n 1‘

AUTHOR

John S. Urban

LICENSE

Public Domain


_shuf (1) March 11, 2021
Generated by manServer 1.08 from a3b4f07a-6e91-4f52-b609-4e42209b8bea using man macros.