テキストを処理するには、2行ごとに改行文字を削除する必要があります。
サンプルテキスト:
this is line one
and this is line two
the third and the
fourth must be pasted too
望ましい出力:
this is line one and this is line two
the third and the fourth must be pasted too
whileループを試しましたが、whileループは悪い習慣です。trまたは他のコマンドを使用して実行できますか?