Skip to content

Commit

Permalink
Merge pull request ocaml#18516 from UnixJunkie/pardi_322
Browse files Browse the repository at this point in the history
Pardi 322
  • Loading branch information
mseri authored Apr 16, 2021
2 parents 2f35593 + 3248c1c commit bcab409
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions packages/pardi/pardi.3.2.2/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
opam-version: "2.0"
authors: "Francois Berenger"
maintainer: "[email protected]"
homepage: "https://github.com/UnixJunkie/pardi"
bug-reports: "https://github.com/UnixJunkie/pardi/issues"
dev-repo: "git+https://github.com/UnixJunkie/pardi.git"
license: "GPL-1.0-or-later"
build: ["dune" "build" "-p" name "-j" jobs]
depends: [
"dune" {>= "1.11"}
"batteries"
"dolog" {>= "4.0.0"}
"parany" {>= "11.0.0"}
"minicli" {>= "5.0.0"}
"ocaml" {>= "4.05.0"}
## only the dev. version needs those
# "lz4"
# "cryptokit"
# "zmq" {>= "5.0.0"}
]
synopsis: "Parallel execution of command lines, pardi!"
description: """
Almost like GNU parallel; just better.

Pardi pushes further the point at which you have to use a supercomputer.
Alternatively, it can be used on a supercomputer to make life in there
much more fun and productive.

Put back the fun into computing: use pardi!

usage:
pardi ...
{-i|--input} <file>: where to read from
{-o|--output} <file>: where to write to (default=stdout)
[-s|--shell]: only shell commands in input file
[{-n|--nprocs} <int>]: max jobs in parallel (default=all cores)
[{-c|--chunks} <int>]: how many chunks per job (default=1)
[{-d|--demux} {l|b:<int>|r:<regexp>|s:<string>}]: how to cut input
file into chunks (line/bytes/regexp/sep_line; default=line)
{-w|--work} <string>: command to execute on each chunk
%IN and %OUT are special tokens
[{-m|--mux} {c|n}]: how to mux job results in output file
(cat/null; default=cat)
[{-ie|--input-ext} <string>]: append file extension to work input files
[{-oe|--output-ext} <string>]: append file extension to work output files
[{-p|--preserve}]: mux results while preserving input order
"""
url {
src: "https://github.com/UnixJunkie/pardi/archive/v3.2.2.tar.gz"
checksum: "md5=0fc687f48a2a34973d414994618dea19"
}

0 comments on commit bcab409

Please sign in to comment.