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

2012-01-13 Thread Michael Stummvoll
Package: wnpp Severity: wishlist Owner: Michael Stummvoll mich...@stummi.org I'm planning to upload this new package through a sponsor * Package name: template Version : 0.1 Upstream Author : Michael Stummvoll mich...@stummi.org * URL :

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

2012-01-13 Thread Steve McIntyre
On Fri, Jan 13, 2012 at 02:55:06PM +0100, Michael Stummvoll wrote: On 13.01.2012 14:52, Steve McIntyre wrote: Why do we need this? Does it need to be a separate package for a very simple utility program? do you think it has better chances to get in a package like moreutils instead of as own? That

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

2012-01-13 Thread Steve McIntyre
Michael Stummvoll wrote: Package: wnpp Severity: wishlist Owner: Michael Stummvoll mich...@stummi.org I'm planning to upload this new package through a sponsor * Package name: template Version : 0.1 Upstream Author : Michael Stummvoll mich...@stummi.org * URL :

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

2012-01-13 Thread Neil Williams
On Fri, 13 Jan 2012 15:43:03 +0100 Michael Stummvoll mich...@stummi.org wrote: 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

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

2012-01-13 Thread Neil Williams
On Fri, 13 Jan 2012 16:11:50 +0100 Michael Stummvoll mich...@stummi.org wrote: On 13.01.2012 16:00, Neil Williams wrote: The point about sed is that sed can substitute whatever you like into whatever you like - printenv with grep and sed gets the value, then another grep for the lines that