Sample Header Ad - 728x90

FOLD not working on very long lines

0 votes
0 answers
128 views
I have a fold command as below to split a file with very long line into multiple lines. It works if the file is small. But if the length of the file is too long, it stops adding new line character half way. fold -b -w 3000 > Is there an alternate way to do this? I am on RHEL.
Asked by Ram (25 rep)
Feb 24, 2022, 07:37 PM
Last activity: Feb 24, 2022, 07:43 PM