Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Splitting REALLY *REALLY* long lines into single character + CR + LF
#4
(04-22-2025, 04:34 AM)Circlotron Wrote: Is there an easy way using Linux to convert this long line into a file in the following format?

3
.
1
4
1
5
9

etc?
Use the fold command?

For 1 character per line: fold -w1 file1.txt > file2.txt
Reply


Messages In This Thread
RE: Splitting REALLY *REALLY* long lines into single character + CR + LF - by tantalus - 04-22-2025, 05:45 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] Lines of Code bplus 20 3,024 01-25-2025, 05:11 PM
Last Post: Pete
  very long pathnames and _DirExists (prob ?) doppler 2 812 12-31-2023, 05:04 PM
Last Post: doppler
  Integer (math) Single = Single SMcNeill 0 543 10-20-2023, 12:16 AM
Last Post: SMcNeill
  tweak Str$ for single and double Jack 9 1,750 12-01-2022, 03:51 PM
Last Post: Pete
  Reading a single value from Registry (Win) euklides 1 677 06-06-2022, 02:41 PM
Last Post: euklides

Forum Jump:


Users browsing this thread: 1 Guest(s)