this repo has no description
1opam-version: "2.0" 2maintainer: "unixjunkie@sdf.org" 3authors: "Francois Berenger" 4homepage: "https://github.com/UnixJunkie/get_line" 5bug-reports: "https://github.com/UnixJunkie/get_line/issues" 6dev-repo: "git+https://github.com/UnixJunkie/get_line" 7license: "GPL-1.0-or-later" 8build: ["dune" "build" "-p" name "-j" jobs] 9depends: [ 10 "dune" {< "2.0"} 11 "batteries" {>= "2.6.0"} 12] 13synopsis: 14 "Robustly select lines from file; can replace the head and tail shell commands and do even more" 15description: """usage: 16get_line {--range|-r} {+n|-n|i|i..j|i:j|i,j[,...]} [-i FILE] [--rand] [-v] 17 (1 <= i [<= j] <= N; N = nb. lines in FILE) 18 -v invert the selection of lines (like 'grep -v') 19 --rand randomize selected lines before writing them out 20 --NxCV <int> several folds cross validation: cut input file into N 21 partitions then create N traininig files and N test files 22 (all other get_line options will be ignored) 23 -i <filename> where to read lines from (default=stdin) 24 -o <filename> where to write lines to (default=stdout) 25 --range {+n|-n|i|i..j|i,j[,...]}: line selection policy; 26 (+n => top n lines; 27 -n => last n lines; 28 n => only line n; 29 i..j => lines i to j; 30 i:j => top i lines and last j lines; 31 i,j[,...] => only lines i,j, ... 32 -r alias for --range 33 -help Display this list of options 34 --help Display this list of options""" 35url { 36 src: "https://github.com/UnixJunkie/get_line/archive/v6.0.0.tar.gz" 37 checksum: [ 38 "sha256=6488e97df8e889b70e6fd2e8cb957fa7d2b7735cc15d0079b5bc4a83206042f4" 39 "md5=875e25f8314a6c377df1ff8c98ed9e6b" 40 ] 41}