From: | Allan Spagnol Comar <allan.comar@×××××.com> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] [OT] Bash scripting | ||
Date: | Fri, 11 Nov 2005 14:37:42 | ||
Message-Id: | 1cc2dc830511110620m2fbc404fxc20829eb294104f6@mail.gmail.com | ||
In Reply to: | [gentoo-user] [OT] Bash scripting by Peper |
1 | #!/bin/sh |
2 | # |
3 | |
4 | blah=`pwd`/blah |
5 | |
6 | echo $blah |
7 | |
8 | output: |
9 | |
10 | /home/thor/tmp/blah |
11 | |
12 | holpe it helps. |
13 | On 11/11/05, Peper <peper@×××××.pl> wrote: |
14 | > Hello, |
15 | > I have a var $blah=' `pwd`/blah ' (extra spaces for clearer reading), how can |
16 | > i change it to 'output of pwd/blah' ? |
17 | > |
18 | > -- |
19 | > Best Regards, |
20 | > Peper |
21 | > -- |
22 | > gentoo-user@g.o mailing list |
23 | > |
24 | > |
25 | |
26 | |
27 | -- |
28 | An application asked: |
29 | "Requeires Windows 9x, NT4 or better", |
30 | so I´ve installed Linux |
31 | |
32 | -- |
33 | gentoo-user@g.o mailing list |