Vet någon hur man snabbt kan ta bort radbyten från en exempelvis .txt dokument?
typ (Texten tagen ur liftarens guide till galaxen):
Kod:
This planet has - or rather had - a problem, which was this: most of
the people on it were unhappy for pretty much of the time. Many solutions
...the whole it wasn't the small green pieces of paper that were unhappy.
And so the problem remained; lots of the people were mean, and most
of them were miserable, even the ones with digital watches.
Many were increasingly of the opinion that they'd all made a big
mistake in coming down from the trees in the first place. And some said
that even the trees had been a bad move, and that no one should ever have
left the oceans.
Varje stycke ska bli till en lång rad:
Kod:
This planet has - or rather had - a problem, which was this: most of the people on it were unhappy for pretty much of the time. Many solutions...the whole it wasn't the small green pieces of paper that were unhappy.
And so the problem remained; lots of the people were mean, and most of them were miserable, even the ones with digital watches.
Many were increasingly of the opinion that they'd all made a big mistake in coming down from the trees in the first place. And some said that even the trees had been a bad move, and that no one should ever have left the oceans.
Vet någon hur man snabbt kan ta bort radbyten från en exempelvis .txt dokument?
Ladda ner notepad++ och kör "find and replace" sök på \n som är ett specialtecken för ny rad. Ersätt med [tom]. Nu försvinner alla radbrytningar så att allt hamnar på samma rad. Kör "find and replace" igen, denna gång sök på tex två space-tecken, eller tab, eller hur du nu har sparat indenteringen för nytt stycke. Ersätt detta med "\n[indentering]" så läggs en ny rad till innan styckena.
Flashback finansieras genom donationer från våra medlemmar och besökare. Det är med hjälp av dig vi kan fortsätta erbjuda en fri samhällsdebatt. Tack för ditt stöd!