[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GNU Parallel Bug Reports Two simple requests with reasoning: timeout suf
From: |
paralleluser |
Subject: |
GNU Parallel Bug Reports Two simple requests with reasoning: timeout suffix and --dry-run short name |
Date: |
Mon, 15 May 2017 14:03:51 -0400 |
Dear Ole,
Please consider my 2 simple requests. Both should take less then 30 seconds to
program.
Simple Request #1.............
Suggest that "--timeout" follow the same syntax as GNU Core Utils timeout.
Basically allow a s/m/h/d suffix with s being the default for
seconds/minutes/hours/days.
man timeout|egrep "second|hour"
DURATION is a floating point number with an optional suffix: 's' for seconds
(the default), 'm' for minutes, 'h' for hours or 'd' for days.
Simple Request #2.............
Suggest there be a short notation for --dry-run. It is commonly used but long
to type.
GNU Parallel has established a precedent to use multiple argument notations for
the same option (number of jobs has --jobs, -j, -P, and --max-procs)
What should a short version of "--dry-run" be?
Rsync uses both "--dry-run" and "-n", but "-n" is already taken in GNU
parallel. Too bad, the symmetry would be useful.
There is a precedent in GNU Parallel, to use a short double-dash such as
"--lb", for "--line-buffer".
Therefore, suggest "--dry" and/or "--dr" be an additional shortcut(s) for
"--dry-run". I actually vote for both as I almost never run a GNU parallel
without using --dry-run first.
Much thanks,
Parallel User
- GNU Parallel Bug Reports Two simple requests with reasoning: timeout suffix and --dry-run short name,
paralleluser <=