Replace string in Shell scripting
Hi,
I need to check if the starting or ending of the give string has a double quote and replace it with null.
e.g. Input
var="test string "is" string"
Output
var=test string "is" string
Please help in this regard
Thanks
Anand
[306 byte] By [
anandjk1] at [2007-11-20 11:31:56]

# 2 Re: Replace string in Shell scripting
Well he said shell scripting, however still need to know what shell.. bash, sh, csh?
Also, i'd need more information to help you, who is setting the var? Are you reading from standard in?
-Zetas
Zetas at 2007-11-10 3:57:08 >
