Gentoo Archives: gentoo-user

From: Peper <peper@×××××.pl>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: [OT] Bash scripting
Date: Fri, 11 Nov 2005 14:41:56
Message-Id: 200511111530.00262.peper@aster.pl
In Reply to: Re: [gentoo-user] [OT] Bash scripting by "David Eduardo Gómez Noguera"
1 > try
2 > blah=`pwd`'/blah'
3 >
4 > *Note the single quotes do not enclose `pwd`
5
6 I know how to use `command`, but the problem is that i read blah from file.
7 blah=`head -n x file|tail -n 1` and in the file i have lines `pwd`/blah.
8 $ echo $blah
9 `pwd`/blah
10
11 This is the problem.
12
13 --
14 Best Regards,
15 Peper
16 --
17 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: [OT] Bash scripting davidgn@×××××××××××××.mx