<< DiscussionsReply

unix newline (LF) replacement for EOL+ LineFeed (CR+LF)

Mart-Jan Reeuwijk
2 discussion posts
I sometimes hit on linux formatted text, and want the linux endlines be replaced for the system windows uses.
A nice feat would also be to be able to do that visa versa.
in short I want to be able replace in texts: 0x0A by 0x0D0A
Jan 20, 2012  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
I apologize for the delayed response. You should be able to do this with a ClipboardFusion macro, like this:


And to do the opposite, just reverse the parameters for text.Replace, like this:


Feb 1, 2012 (modified Feb 1, 2012)  • #2
Keith Lammers (BFS)'s profile on WallpaperFusion.com
If that doesn't work out though, you can always use Notepad++, it does the EOL conversion on text files automatically using the Edit > EOL Conversion menu

Edit: I just tested out the macro I posted above, and it indeed does work

Links to the two macros:
Feb 1, 2012 (modified Feb 1, 2012)  • #3
Was this helpful?    
<< DiscussionsReply