Reputation: 171459
var
may be double quoted:
set var="Very long text"
or without quotes:
set var=Some_Text
I would like to get the unquoted text, i.e. Very long text
in the first case and Some_Text
in the second one.
How could I remove the double quotes, if exist ?
Upvotes: 4
Views: 6173
Reputation: 1895
Have you tried this method?
See also: http://ss64.com/nt/syntax-esc.html
Upvotes: 4