1 Oct
2008
1 Oct
'08
16:32
drek wrote:
On 09/29/2008 04:02 PM, David Bolt wrote:
This should do: WHICHEVER_VARIABLE_NAME_YOU_WANT=${PWD##*/} ^ ^ And these are curly braces. Thanks, but... Can you explain this? For me, it is just a magic guess with some #'s and a star and slash. How do you come up with this solution?
André
Andre See: http://tldp.org/LDP/abs/html/parameter-substitution.html Halfway down the page.... -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org