Bug#655712: ITP: template -- environment variable expander | simple template tool
]] Michael Stummvoll
> template is a very simple tool that reads from stdin, expands
> variables in the form ${FOO} to its according environment variables
> and prints this to stdout.
It seems slightly excessive to package up
perl -pe 's/\${([^}]+)}/$ENV{$1}/ge'
as its own package.
If this actually is needed, put it in a script in moreutils?
Cheers,
--
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are
Reply to: