答え1
二重引用符を含める
echo "hello (world)" | sed "s/)/ with an 'example')/"
与える
hello (world with an 'example')
複雑な引用符を含める:
echo "hello (world)" | sed "s/)/ with an hello ‘example’ )/"
hello (world with an hello ‘example’ )
二重引用符を含める
echo "hello (world)" | sed "s/)/ with an 'example')/"
与える
hello (world with an 'example')
複雑な引用符を含める:
echo "hello (world)" | sed "s/)/ with an hello ‘example’ )/"
hello (world with an hello ‘example’ )