help-bash
[Top][All Lists]
Advanced

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

[Help-bash] How to extrapolate string including '~'?


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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]