package get_line
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=6488e97df8e889b70e6fd2e8cb957fa7d2b7735cc15d0079b5bc4a83206042f4
md5=875e25f8314a6c377df1ff8c98ed9e6b
Description
usage: get_line {--range|-r} {+n|-n|i|i..j|i:j|i,j[,...]} [-i FILE] [--rand] [-v] (1 <= i [<= j] <= N; N = nb. lines in FILE) -v invert the selection of lines (like 'grep -v') --rand randomize selected lines before writing them out --NxCV several folds cross validation: cut input file into N partitions then create N traininig files and N test files (all other get_line options will be ignored) -i where to read lines from (default=stdin) -o where to write lines to (default=stdout) --range {+n|-n|i|i..j|i,j[,...]}: line selection policy; (+n => top n lines; -n => last n lines; n => only line n; i..j => lines i to j; i:j => top i lines and last j lines; i,j[,...] => only lines i,j, ... -r alias for --range -help Display this list of options --help Display this list of options
Published: 23 Jan 2019
README
get_line
output a single line or a range of lines from a given file
Dev Dependencies
None
Used by (1)
Conflicts
None