Re: GNU Parallel --plus Capabilities

2022-05-30 Thread Ole Tange
On Fri, May 27, 2022 at 5:25 AM Larry Ploetz wrote: > > Feature request: > > Given the (second) command below, line 3 would be more like bash if it > substituted all periods with underscores (instead of none due to no match): That is not a feature request. That is a bug report. If you find simi

Re: Can parallel have any shell completions?

2022-05-30 Thread Ole Tange
On Sun, May 15, 2022 at 6:29 PM Wu Zhenyu wrote:> > I found in man, there provide a zsh script: > > ``` >--shell-completion shell (alpha testing) >Generate shell completion code for interactive shells. > >Supported shells: bash zsh. > >Use auto as shell

Re: GNU Parallel More Frequently Check Nodelist

2022-05-30 Thread Ole Tange
On Wed, Mar 16, 2022 at 1:07 PM Saydjari, Andrew < [email protected]> wrote: > > I think the only "feature" really needed to make this possible is a flag > that changes how frequently the "nodelist" is checked. Personally, my tasks > are often 8h+ and I wouldn't want to waste 8h of a

Re: bug report (parallel --slf feature)

2022-05-30 Thread Ole Tange
> #parallel --halt soon,fail=1 --gnu --no-notice --slf /usr/hpc-bio/mpi/slf.silent.nnode4 > # cat /usr/hpc-bio/mpi/slf.silent.nnode4 > 12/T640 It was caused by a bug: GNU Parallel (wrongly) assumed hosts could not contain UPPERCASE letters. Try the newest release. /Ole

Possible Bug In Quote Processing?

2022-05-30 Thread Larry Ploetz
I would think these should all produce the same output $ parallel echo "{}" \| cat -nvet ::: VAR 1 VAR$ $ parallel -q echo "{}" \| cat -nvet ::: VAR VAR | cat -nvet $ parallel echo {} \| cat -nvet ::: VAR 1 VAR$ $ parallel -q echo {} \| cat -nvet ::: VAR VAR

Another GNU Parallel --plus Capabilities “bug”

2022-05-30 Thread Larry Ploetz
I guess if --plus is supposed to cover all of bash's parameter expansion capabilites, these should work also: larryp-MBP:parallel larry$ x=abcabcdefdef; echo $x ${x/#abc/ABC} abcabcdefdef ABCabcdefdef larryp-MBP:parallel larry$ x=abcabcdefdef; echo $x ${x/%def/DEF} abcabcdefdef abcab