[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#655712: ITP: template -- environment variable expander | simple template tool



On 13.01.2012 15:36, Neil Williams wrote:
$ printenv|grep GDM_LANG|sed -e 's/GDM_LANG=//'

#!/bin/sh
GLANG=`printenv|grep GDM_LANG|sed -e 's/GDM_LANG=//'`
echo $GLANG

Why is that hard?

did you really read and understand what I wrote in the package description and the upstream-website?

I want a tool, that reads (e.g from a file) content like

"foo ${BAR} blup"

and replaces ${BAR} here with the environment variable BAR

Regards,
Michael






Reply to: