Quote sed
codes with double quotes:
$ sed "s/ones/one's/"<<<"ones thing"
one's thing
I don't like escaping codes with hundreds of backslashes –?hurts my eyes. Usually I do in this way:
$ sed 's/ones/onex27s/'<<<"ones thing"
one's thing
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…