Re: Why this is not working ....

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

 



>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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux