次のようなテキストファイルがたくさんあります。
His doctor attributed this to an allergy .
That hardly convinced him , as he had no history of allergies of any kind .
" Yet , that was to be the least of his problems .
I may have to take steroids for the rest of my life .
"
A topical steroid spray was later added to his repertoire of drugs and
" he knew it was merely masking the underlying condition .
"
. "
そして、一行になるように変更したいと思います。目的の出力は次のようになります。
His doctor attributed this to an allergy .
That hardly convinced him , as he had no history of allergies of any kind .
" Yet , that was to be the least of his problems .
I may have to take steroids for the rest of my life . "
A topical steroid spray was later added to his repertoire of drugs and
" he knew it was merely masking the underlying condition . "
私はこれを試しましたが、機能しません:
sed -i 's/.\n"\n/. "\n/g'
誰かが上にシフトするための正しいsedコマンドで私を助けることができますか"
?