Re: Why this is not working ....
From: Jan Engelhardt
Date: Wed Jul 27 2005 - 02:57:55 EST
>PATH=' \ /home\ / $2 \ / $3 \ / lib '
>Why $2 and $3 are not replaced by user passed argument
Because it is in single quotes, and single quotes do not provide
interpolation^1.
^1 The term used by by perlop(1), section "Quote and Quote-like Operators".
Interpolation yes/no holds true for bash, too.
Jan Engelhardt
--
| Alphagate Systems, http://alphagate.hopto.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/