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

Re: a quick Q: how to replace the value quickly





On Sat, Sep 10, 2011 at 12:22 AM, John L. Cunningham <djohngo@gmail.com> 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 like
> run -a $i.pdf -b $i.pdf -c $i.pdf -d $i.pdf,
>
> how can I change $i very quickly except one by one to
> run -a 1.pdf -b 1.pdf -c 1.pdf -d 1.pdf,
>
> Thanks ahead for any suggestions,

export i=whatever_you_want_here

This is a BRILLIANT list.

Thanks !


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 20110909162205.GB27467@infotech" target="_blank">http://lists.debian.org/[🔎] 20110909162205.GB27467@infotech




--
Best Regards,

lina



Reply to: