Better HN
topnewbestaskshowjobs
Log inSign up

prosaole

3 karma · joined Apr 4, 2022 (4y ago) · 5 submissions

Submissions

comment 2y ago · link · parent

Try:

    parallel --latestline seq ::: {1..10}0000000
(Requires version 20220522)

comment 2y ago · link · parent

If speed is the most important factor, a more interesting comparison would be to parallel-bash:

https://www.gnu.org/software/parallel/parallel_alternatives....

comment 4y ago · link · parent

> getting the shell quoting hell right

Running `parallel --shellquote --shellquote --shellquote` and pasting in the line you want to quote thrice may alleviate some of the pain.

By no means ideal, though.

comment 4y ago · link · parent

> and my complete ignorance of GNU parallel [...] 16 years later

Parallel was created 2002-01-06: https://www.gnu.org/software/parallel/20th-birthday.html

It did, however, only become a GNU tool in 2011, so I think it is completely fair that you were ignorant about it 16 years ago.

comment 4y ago · link · parent

For color coding try:

    seq 10 | parallel --lb --ctag ping {}.1.1.1