I'm trying to replace all double quotes in a string with single quotes.
here my expression:
echo "<a href="#" id="resendActivationMailLink">here</a>" | sed "s/"/'/"
unfortunately only the first double quote is replaced :S
<a href='#" id="resendActivationMailLink">here</a>
any Ideas?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…