Skip to main content
added 2 characters in body
Source Link
Marcus Müller
  • 51.2k
  • 4
  • 77
  • 119

GNU parallel can read csv directly, and has item replacement built in.

More or less directly taken from man parallel:

parallel --csv my_cmd'my_cmd --arg1 {2} --arg2 {1} --arg3 {3}' :::: file.csv

Add -j1 before my_cmd to these invocations be executed one-after-the-other. Or don't, and have them be executed in parallel.

(on debian and fedora, it's in the package called parallel, not in moreutils or moreutils-parallel)

Thank you, Ole Tange!

GNU parallel can read csv directly, and has item replacement built in.

More or less directly taken from man parallel:

parallel --csv my_cmd --arg1 {2} --arg2 {1} --arg3 {3} :::: file.csv

Add -j1 before my_cmd to these invocations be executed one-after-the-other. Or don't, and have them be executed in parallel.

(on debian and fedora, it's in the package called parallel, not in moreutils or moreutils-parallel)

Thank you, Ole Tange!

GNU parallel can read csv directly, and has item replacement built in.

More or less directly taken from man parallel:

parallel --csv 'my_cmd --arg1 {2} --arg2 {1} --arg3 {3}' :::: file.csv

Add -j1 before my_cmd to these invocations be executed one-after-the-other. Or don't, and have them be executed in parallel.

(on debian and fedora, it's in the package called parallel, not in moreutils or moreutils-parallel)

Thank you, Ole Tange!

added 132 characters in body
Source Link
Marcus Müller
  • 51.2k
  • 4
  • 77
  • 119

GNU parallel can read csv directly, and has item replacement built in.

More or less directly taken from man parallel:

parallel --csv my_cmd --arg1 {2} --arg2 {1} --arg3 {3} :::: file.csv

Add -j1 before my_cmd to these invocations be executed one-after-the-other. Or don't, and have them be executed in parallel.

(on debian and fedora, it's in the package called parallel, not in moreutils or moreutils-parallel)

Thank you, Ole Tange!

GNU parallel can read csv directly, and has item replacement built in.

More or less directly taken from man parallel:

parallel --csv my_cmd --arg1 {2} --arg2 {1} --arg3 {3} :::: file.csv

(on debian and fedora, it's in the package called parallel, not in moreutils or moreutils-parallel)

Thank you, Ole Tange!

GNU parallel can read csv directly, and has item replacement built in.

More or less directly taken from man parallel:

parallel --csv my_cmd --arg1 {2} --arg2 {1} --arg3 {3} :::: file.csv

Add -j1 before my_cmd to these invocations be executed one-after-the-other. Or don't, and have them be executed in parallel.

(on debian and fedora, it's in the package called parallel, not in moreutils or moreutils-parallel)

Thank you, Ole Tange!

added 109 characters in body
Source Link
Marcus Müller
  • 51.2k
  • 4
  • 77
  • 119

GNU parallel can read csv directly, and has item replacement built in.

More or less directly taken from man parallel:

parallel --csv my_cmd --arg1 {2} --arg2 {1} --arg3 {3} :::: file.csv

(on debian and fedora, it's in the package called parallel, not in moreutils or moreutils-parallel)

Thank you, Ole Tange!

GNU parallel can read csv directly, and has item replacement built in.

More or less directly taken from man parallel:

parallel --csv my_cmd --arg1 {2} --arg2 {1} --arg3 {3} :::: file.csv

Thank you, Ole Tange!

GNU parallel can read csv directly, and has item replacement built in.

More or less directly taken from man parallel:

parallel --csv my_cmd --arg1 {2} --arg2 {1} --arg3 {3} :::: file.csv

(on debian and fedora, it's in the package called parallel, not in moreutils or moreutils-parallel)

Thank you, Ole Tange!

Source Link
Marcus Müller
  • 51.2k
  • 4
  • 77
  • 119
Loading