Gentoo Archives: gentoo-user

From: "David Eduardo Gómez Noguera" <davidgn@×××××××××××××.mx>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] Bash scripting
Date: Fri, 11 Nov 2005 14:26:52
Message-Id: 1131718486.10468.1.camel@mokona
In Reply to: [gentoo-user] [OT] Bash scripting by Peper
1 On Fri, 2005-11-11 at 14:56 +0100, Peper wrote:
2 > Hello,
3 > I have a var $blah=' `pwd`/blah ' (extra spaces for clearer reading), how can
4 > i change it to 'output of pwd/blah' ?
5 >
6
7 try
8 blah=`pwd`'/blah'
9
10 *Note the single quotes do not enclose `pwd`
11
12 --
13 David Eduardo Gómez Noguera <davidgn@×××××××××××××.mx>
14
15 --
16 gentoo-user@g.o mailing list

Replies

Subject Author
[gentoo-user] Re: [OT] Bash scripting Peper <peper@×××××.pl>