Le 15226ième jour après Epoch,
Ivan Shmakov écrivait:
> $ (i=world ; printf 'Hello, %s!\n' "$i")
> Hello, world!
> $
>
> (The parentheses there ensure that the variable will be used for
> this command line only and will not linger.)
Or, if it's only for one command, you can do:
i="
> John L Cunningham writes:
> On Sat, Sep 10, 2011 at 12:03:06AM +0800, lina wrote:
>> suppose there is a variable in some bash like i, so in some process
>> I used $i so lots,
>> but I wanna test one long command on terminal,
>> which as like
>> run -a $i.pdf -b $i.pdf -c $i.pdf
On Sat, Sep 10, 2011 at 12:22 AM, John L. Cunningham wrote:
> On Sat, Sep 10, 2011 at 12:03:06AM +0800, lina wrote:
> > Hi,
> >
> > suppose there is a variable in some bash like i, so in some process I
> used $i
> > so lots,
> >
> > but I wanna test one long command on terminal,
> >
> > which as l
On Sat, Sep 10, 2011 at 12:03:06AM +0800, lina wrote:
> Hi,
>
> suppose there is a variable in some bash like i, so in some process I used $i
> so lots,
>
> but I wanna test one long command on terminal,
>
> which as like
> run -a $i.pdf -b $i.pdf -c $i.pdf -d $i.pdf,
>
> how can I change $i ve
4 matches
Mail list logo