[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: feature request to support stdin in GNU install
From: |
Dröge , Lars |
Subject: |
Re: feature request to support stdin in GNU install |
Date: |
Thu, 27 Jul 2023 07:05:48 +0000 |
On 07/26/23 Rob Landley wrote:
> On 7/26/23 17:32, Pádraig Brady wrote:
> > Well /dev/stdin works for this. I.e. this works:
> >
> > echo secret | install -m 0600 /dev/stdin keyfile
> >
Yes, this works for me. Thank you. I accept this solution and hereby
withdraw my feature request.
>
> Presumably also install -m 0600 <(generate_secret) keyfile
I would use this in bash. But as far as I know, this is bash-specific.
I was looking for a shell-agnostic approach for an Ansible
ansibile.builtin.shell module.
Thanks for the advises.
Lars
signature.asc
Description: This is a digitally signed message part
smime.p7s
Description: S/MIME cryptographic signature