Code Monkey home page Code Monkey logo

moreutils-parallel's People

Contributors

brockn avatar ebroder avatar ghuls avatar gregkh avatar javimerino avatar joeyh avatar liwfi avatar madcoder avatar tfheen avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

krackers

moreutils-parallel's Issues

Benefit of moreutils parallel over xargs -P?

It seems like the functionality provided by moreutils is equivalent to what you can get with xargs -P -I, with the major difference between the two being whether replace args are passed as arguments (as in moreutils) or via stdinput (as in xargs).

using stdin for commands

This looks easy to do, any reason why it hasn't been? It fixes the problem I face with dropping the gnu version (motive: a tool like this should not be demanding to be cited in research any more than pipette supplier's order form).

Advantages: no command line length limitation, and can run a variety of cmds. See ###-marked usage.

Usage: parallel [OPTIONS] COMMAND -- ARGUMENTS
     Run COMMAND in parallel and pass one ARGUMENT to each instance.
   or: parallel [OPTIONS] -- COMMANDS
   or: cat COMMANDS | parallel [OPTIONS]   ####new
         Run specified COMMANDS in parallel.

For -i and -n usage, adding

                  Not compatible with piped commands. ###new

Update: My mod seems to work with pipe as shown, but not with redirection: "parallel [OPTIONS] < cmd_file", where it seems to reread the file with mistakes forever after the first pass. It uses getline() to read stdin.

True aficianodos would want to port the applicable -i -n {} features to it. Production testing result to follow. Seems it could be adapted easily to manage gpu's or other resources as well as cpu threads. Any of this might justify forking to a non-colliding program name, and letting package managers decide. Hmm, is moreutils-parallel exactly that?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.