On Sun, Aug 03, 2003 at 06:57:44AM -0400, Shawn Lamson wrote:
> On Sat, August 02 at 12:08 PM EDT
> Dave Carrigan <[EMAIL PROTECTED]> wrote:
> >The "MY_ENV=abc printf" syntax sets the environment variable for the
> >printf subprocess. And, in fact, when printf runs, MY_ENV is truly set
> >to abc. H
On Sun, Aug 03, 2003 at 01:50:18AM +0300, Shaul Karl wrote:
> Your proposal has some side effects which might be undesirable. More
> specifically, with your proposal MY_ENV will be set until you
> explicitly unset it or exit the shell. With what I tried to do, MY_ENV
> will only be set for the fo
On Sat, August 02 at 12:08 PM EDT
Dave Carrigan <[EMAIL PROTECTED]> wrote:
>On Sat, Aug 02, 2003 at 08:49:36PM +0300, Shaul Karl wrote:
>
>> According to my understanding of the manual page,
>>
>> $ MY_ENV=abc printf "${MY_ENV}\n"
>>
>> Should have print abc. But it does not:
>>
>> $
On Sat, Aug 02, 2003 at 11:55:03PM +0100, iain d broadfoot wrote:
>
> i can't see in the man page an example like the one you show, what
> section is it in?
>
Quoting the ENVIRONMENT section:
The environment for any simple command or function may be augmented
temporarily by pre
On Sat, Aug 02, 2003 at 10:22:19PM +0100, iain d broadfoot wrote:
> * Shaul Karl ([EMAIL PROTECTED]) wrote:
> > Package: bash
> > Version: 2.05b-8.1
> >
> > According to my understanding of the manual page,
> >
> > $ MY_ENV=abc printf "${MY_ENV}\n"
> >
> > Should have print abc. But it doe
* Shaul Karl ([EMAIL PROTECTED]) wrote:
> On Sat, Aug 02, 2003 at 10:22:19PM +0100, iain d broadfoot wrote:
> > * Shaul Karl ([EMAIL PROTECTED]) wrote:
> > > Package: bash
> > > Version: 2.05b-8.1
> > >
> > > According to my understanding of the manual page,
> > >
> > > $ MY_ENV=abc printf
* Shaul Karl ([EMAIL PROTECTED]) wrote:
> Package: bash
> Version: 2.05b-8.1
>
> According to my understanding of the manual page,
>
> $ MY_ENV=abc printf "${MY_ENV}\n"
>
> Should have print abc. But it does not:
>
> $ MY_ENV=abc printf "${MY_ENV}\n"
>
> $
>
> What am I missing?
On Sat, Aug 02, 2003 at 08:49:36PM +0300, Shaul Karl wrote:
> According to my understanding of the manual page,
>
> $ MY_ENV=abc printf "${MY_ENV}\n"
>
> Should have print abc. But it does not:
>
> $ MY_ENV=abc printf "${MY_ENV}\n"
>
> What am I missing?
The "MY_ENV=abc printf" synt
Package: bash
Version: 2.05b-8.1
According to my understanding of the manual page,
$ MY_ENV=abc printf "${MY_ENV}\n"
Should have print abc. But it does not:
$ MY_ENV=abc printf "${MY_ENV}\n"
$
What am I missing?
-- System Information:
Debian Release: testing/unstable
Architect
9 matches
Mail list logo