|
From: | Peng Yu |
Subject: | [Help-bash] How to extrapolate string including '~'? |
Date: | Sun, 12 May 2013 07:35:34 -0500 |
Hi, I want to extrapolate a string that includes '~'. Is there a way to do so in bash? str='~' x=$(eval "$str") -bash: /Users/john: Is a directory -- Regards, Peng
[Prev in Thread] | Current Thread | [Next in Thread] |