Re: Parallelization of shell scripts for 'configure' etc.

2022-06-20 Thread Chet Ramey
On 6/18/22 3:05 PM, Tim Rühsen wrote: [Configure for wget2 runs 'rm' and 'cat' each roughly 2000x - so I came up with enabling plugins for those two commands (had to write a plugin for 'rm', not sure if it never has been accepted by bash upstream).] The loadable `rm' has been in bash since ba

[PATCH] fix COMP_WORDS when completing an empty word

2022-06-20 Thread Naïm Favier
Currently, typing `cmd flag1 flag2` (note the two spaces), navigating between the two spaces and hitting Tab produces `COMP_WORDS=(cmd flag1 flag2)` without inserting an empty word between flag1 and flag2. I believe this comes from considering the cursor ("sentinel") as a block rather than a line

[PATCH] fix COMP_WORDS when completing an empty word

2022-06-20 Thread n+bash
From: Naïm Favier Currently, typing `cmd flag1 flag2` (note the two spaces), navigating between the two spaces and hitting Tab produces `COMP_WORDS=(cmd flag1 flag2)` without inserting an empty word between flag1 and flag2. I believe this comes from considering the cursor ("sentinel") as a bloc