https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=14636
--- Comment #7 from Christopher Maynard <[email protected]> ---
(In reply to Gerald Combs from comment #5)
> (In reply to Christopher Maynard from comment #3)
> > This also seems to work just fine:
> >
> > type NEWS | MORE /P > NEWS.txt
> >
> > (Credit:
> > https://stackoverflow.com/questions/17579553/windows-command-to-convert-unix-
> > line-endings)
>
> Does "more" work across code pages? I don't think anyone uses 65001 (UTF-8)
> in practice, but it definitely breaks more:
>
> > chcp 65001
> > more /?
> Not enough memory.
It seems to work OK for me:
>chcp
Active code page: 437
>chcp 65001
Active code page: 65001
>more /?
Displays output one screen at a time.
MORE [/E [/C] [/P] [/S] [/Tn] [+n]] < [drive:][path]filename
...
>type NEWS | MORE /P > NEWS.txt
>diff -b NEWS NEWS.txt
226a227
>
The only difference appears to be 1 less trailing blank line.
Well, I only mentioned unix2dos and this method as possible temporary
work-arounds, but the fix mentioned in comment #4 is probably the best
solution, especially if you're experiencing "Not enough memory" when running
`more`.
--
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via: Wireshark-bugs mailing list <[email protected]>
Archives: https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
mailto:[email protected]?subject=unsubscribe