텍스트를 처리 할 때 두 줄마다 줄 바꿈 문자를 제거해야합니다.
샘플 텍스트:
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또는 다른 명령을 사용하여 수행 할 수 있습니까?