Re: Formatting ASCII to be read by Windows NotePad



UnRiel <bdwhite@xxxxxxxxx> writes:

I have a nice PERL script I use to generate CISCO configurations

No need to shout - neither Perl nor Cisco are acronyms.

when I FTP the files to my Windows XP PC and try to read them in
Notepad, there is clearly no line wrap that Notepad understands. If I
otherwise read the file into WordPad first, save the file, then open
into Notepad, the formatting presents correctly.

Transfer the files in text mode. That will translate the line endings
as needed.

sherm--

--
My blog: http://shermspace.blogspot.com
Cocoa programming in Perl: http://camelbones.sourceforge.net
.



Relevant Pages

  • Re: print cyriilic (UTF-8) characters with PERL on HTML page
    ... Kommentar sparen! ... Ob du nun Perl oder PERL schreibst, ist mir wurscht, denn ... In Notepad pasting is OK, ... or you need to convert all non-latin-1 characters to entities. ...
    (comp.lang.perl.misc)
  • Re: print cyriilic (UTF-8) characters with PERL on HTML page
    ... Notepad, or is there? ... it is beyond me how the editor used could have any impact on how to ... PERL into a website? ... Peter didn't answer the OPs question at all. ...
    (comp.lang.perl.misc)
  • Re: ActiveState Perl mangles text files
    ... Quoth Mothra: ... > produces when you run it on a windows text file (created in notepad). ... > It seems to put blank spaces (or unprintable characters) in between each ... Somehow I doubt you have perl installed as c:/perl.exe. ...
    (comp.lang.perl.misc)
  • Re: ActiveState Perl mangles text files
    ... >>produces when you run it on a windows text file (created in notepad). ... >>It seems to put blank spaces (or unprintable characters) in between each ... > relevant in AS Perl. ... file and re-saved it in the correct format. ...
    (comp.lang.perl.misc)
  • Re: Win32::OLE Code needed
    ... > Open C:\example1.txt, an existing file, using notepad ... external programs you want to control doing? ... I'd suggest you'd be better off installing Tk (ppm install ... Perl yet. ...
    (comp.lang.perl.misc)