]] 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 ac
On Fri, 13 Jan 2012 16:11:50 +0100
Michael Stummvoll 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 matter and
Michael Stummvoll writes:
> On 13.01.2012 16:14, Gergely Nagy wrote:
>> (By the way, you can abuse /usr/share/dh-exec/dh-exec-subst-env,
>> which does just that, and is part of the dh-exec package, if you
>> don't want to put it in a script in ~/bin or something. ;)
> ah, thanks. Thats what I lo
On 13.01.2012 16:14, Gergely Nagy wrote:
(By the way, you can abuse /usr/share/dh-exec/dh-exec-subst-env, which
does just that, and is part of the dh-exec package, if you don't want
to put it in a script in ~/bin or something. ;)
ah, thanks. Thats what I looked for. So, the tool isn't too simpl
Michael Stummvoll writes:
> On 13.01.2012 15:05, Steve McIntyre wrote:
>> * I don't really see how this program is more useful than a very
>> simple shell (or perl, or python, or ...) loop to do the same
>> thing.
> I looked a while for a simple shell loop which does exactly this. But
> could'nt
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 matter and pass those lines to sed. It
really isn't hard.
ok, please can you give me
On Fri, 13 Jan 2012 15:43:03 +0100
Michael Stummvoll 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
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
On Fri, 13 Jan 2012 14:44:13 +0100
Michael Stummvoll wrote:
> On 13.01.2012 14:35, Neil Williams wrote:
> > printenv? Maybe printenv combined with sed or grep ... What is the
> > advantage?
> expanding variables in a file is very tricky using bash only.
? file? You're talking about environment
On 13.01.2012 15:05, Steve McIntyre wrote:
* I don't really see how this program is more useful than a very
simple shell (or perl, or python, or ...) loop to do the same thing.
I looked a while for a simple shell loop which does exactly this. But
could'nt find one, so I wrote this tool.
All bas
Michael Stummvoll wrote:
>Package: wnpp
>Severity: wishlist
>Owner: Michael Stummvoll
>
>I'm planning to upload this new package through a sponsor
>
>* Package name: template
> Version : 0.1
> Upstream Author : Michael Stummvoll
>* URL : http://stuff.stummi.org/template.
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?
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?
--
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
On 13.01.2012 14:35, Neil Williams wrote:
printenv? Maybe printenv combined with sed or grep ... What is the
advantage?
expanding variables in a file is very tricky using bash only.
And I don't really see your point. What did you mean with "printenv
combined with sed"? Listing all environment-
On Fri, 13 Jan 2012 13:40:58 +0100
Michael Stummvoll wrote:
> Package: wnpp
> Severity: wishlist
> Owner: Michael Stummvoll
>
> I'm planning to upload this new package through a sponsor
>
> * Package name: template
> Version : 0.1
> Upstream Author : Michael Stummvoll
> * URL
On 13.01.2012 13:51, Sandro Tosi wrote:
On Fri, Jan 13, 2012 at 13:40, Michael Stummvoll wrote:
* Package name: template
It's probably a too generic name
Ok, you may be right. Would something like template-tool be better?
Regards,
Michael
--
To UNSUBSCRIBE, email to debian-wnpp-requ..
On Fri, Jan 13, 2012 at 13:40, Michael Stummvoll wrote:
> * Package name : template
It's probably a too generic name
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
--
To UNSUBSCRIBE, email to d
Package: wnpp
Severity: wishlist
Owner: Michael Stummvoll
I'm planning to upload this new package through a sponsor
* Package name: template
Version : 0.1
Upstream Author : Michael Stummvoll
* URL : http://stuff.stummi.org/template.html
* License : GPL
Prog
18 matches
Mail list logo