2017-08-15 sedで文字列置換 bash シェル 普通に置き換え echo hogepiyohoge | sed -e "s/piyo/hoge/g"空白に置き換え echo hogepiyohoge | sed -e "s/piyo//g"