Re: [PATCH 1/2] run.in: Add intelligent prepend function.

2020-01-21 Thread Daniel P . Berrangé
On Thu, Jan 16, 2020 at 05:15:41PM +, Richard W.M. Jones wrote: > This has been used in libguestfs and libnbd for quite a while as it > makes the ./run script easier to read and write. > > See also: > http://stackoverflow.com/a/9631350 > > Signed-off-by: Richard W.M. Jones > --- > run.in |

Re: [PATCH 1/2] run.in: Add intelligent prepend function.

2020-01-17 Thread Erik Skultety
On Thu, Jan 16, 2020 at 05:15:41PM +, Richard W.M. Jones wrote: > This has been used in libguestfs and libnbd for quite a while as it > makes the ./run script easier to read and write. > > See also: > http://stackoverflow.com/a/9631350 Very neat, thanks for linking the stackoverflow article

[PATCH 1/2] run.in: Add intelligent prepend function.

2020-01-16 Thread Richard W.M. Jones
This has been used in libguestfs and libnbd for quite a while as it makes the ./run script easier to read and write. See also: http://stackoverflow.com/a/9631350 Signed-off-by: Richard W.M. Jones --- run.in | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git