Re: Proposal: let execline's envfile do substitution

From: Paul Sopka <psopka_at_sopka.ch>
Date: Fri, 20 Sep 2024 15:42:25 +0200

Thanks for taking the time to reply.

>  You can instantiate a configuration file before feeding it to envfile:
>
> example.conf:
>
> _at_location_at_=/home/_at_user@/somewhere
>
>
> examplescript:
>
> #!/bin/execlineb -S0
> pipeline { redirfd -r 0 example.conf sed -e "s/_at_location@/x/g;
> s/_at_user_at_/y/g;" }
> envfile -
> printenv
>
>  Unix tools are powerful. Use them. ;)
Sounds good, thanks for the heads up!

Have a nice weekend,

Paul

Received on Fri Sep 20 2024 - 15:42:25 CEST

This archive was generated by hypermail 2.4.0 : Fri Sep 20 2024 - 15:43:00 CEST