我有一堆看起来像这样的文本文件:
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 命令来"
向上移动吗?