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 ?
Have you tried this method?
See also: http://ss64.com/nt/syntax-esc.html
精彩评论