Click here to Skip to main content
15,891,607 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: And we're back to the eighties again... Pin
musefan13-May-20 2:06
musefan13-May-20 2:06 
GeneralRe: And we're back to the eighties again... Pin
James Curran13-May-20 2:36
James Curran13-May-20 2:36 
GeneralRe: And we're back to the eighties again... Pin
Rage13-May-20 2:40
professionalRage13-May-20 2:40 
GeneralRe: And we're back to the eighties again... Pin
Peter_in_278013-May-20 2:44
professionalPeter_in_278013-May-20 2:44 
GeneralRe: And we're back to the eighties again... Pin
Rage13-May-20 2:46
professionalRage13-May-20 2:46 
GeneralRe: And we're back to the eighties again... Pin
Rage13-May-20 2:39
professionalRage13-May-20 2:39 
GeneralRe: And we're back to the eighties again... Pin
James Curran13-May-20 2:46
James Curran13-May-20 2:46 
GeneralRe: And we're back to the eighties again... Pin
kalberts13-May-20 2:56
kalberts13-May-20 2:56 
Many plaintext editors default to preserving the newline convention detected when reading the file. So, between the reading and writing, you may have to change the newlinesetting before saving the file.

I did write a similar mini-program a few years ago, doing not only newline changes, but also tab expansion (where you could specify a sequence of tab stops), transformation from a specified DOS codepage to ISO 8859-1, etc. Today, I do not encounter such a variety of text files; besides, I believe that Notepad++ can do 95% of what my program did. Today, I use Notepad for such tasks.
GeneralRe: And we're back to the eighties again... Pin
Jörgen Andersson13-May-20 3:40
professionalJörgen Andersson13-May-20 3:40 
GeneralRe: And we're back to the eighties again... Pin
Rage13-May-20 21:17
professionalRage13-May-20 21:17 
GeneralRe: And we're back to the eighties again... Pin
Jörgen Andersson13-May-20 21:19
professionalJörgen Andersson13-May-20 21:19 
GeneralRe: And we're back to the eighties again... Pin
Stuart Dootson13-May-20 5:37
professionalStuart Dootson13-May-20 5:37 
GeneralRe: And we're back to the eighties again... Pin
jsc4213-May-20 3:11
professionaljsc4213-May-20 3:11 
GeneralRe: And we're back to the eighties again... Pin
littleGreenDude13-May-20 3:58
littleGreenDude13-May-20 3:58 
GeneralRe: And we're back to the eighties again... Pin
OriginalGriff13-May-20 4:14
mveOriginalGriff13-May-20 4:14 
GeneralRe: And we're back to the eighties again... Pin
kalberts13-May-20 4:48
kalberts13-May-20 4:48 
GeneralRe: And we're back to the eighties again... Pin
PIEBALDconsult13-May-20 4:57
mvePIEBALDconsult13-May-20 4:57 
GeneralRe: And we're back to the eighties again... Pin
OriginalGriff13-May-20 5:36
mveOriginalGriff13-May-20 5:36 
GeneralRe: And we're back to the eighties again... Pin
PIEBALDconsult13-May-20 11:54
mvePIEBALDconsult13-May-20 11:54 
GeneralRe: And we're back to the eighties again... Pin
kalberts13-May-20 6:09
kalberts13-May-20 6:09 
GeneralRe: And we're back to the eighties again... Pin
dandy7213-May-20 6:53
dandy7213-May-20 6:53 
RantWe don't need no stinkin' common sense Pin
W Balboos, GHB13-May-20 1:51
W Balboos, GHB13-May-20 1:51 
GeneralRe: We don't need no stinkin' common sense Pin
Jörgen Andersson13-May-20 1:53
professionalJörgen Andersson13-May-20 1:53 
GeneralRe: We don't need no stinkin' common sense Pin
W Balboos, GHB13-May-20 1:56
W Balboos, GHB13-May-20 1:56 
GeneralRe: We don't need no stinkin' common sense Pin
Jörgen Andersson13-May-20 2:50
professionalJörgen Andersson13-May-20 2:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.