Hello,
if I try to export in Linux the man page of a command with e. g.
man set > man_set.txt,
a text file man_set.txt is created with the content of that manpage, but it also contains the control characters indicating e. g. the colors or font types (bold) displayed in the console. When I try to export such a file with WinWCP to a Windows system and to display it with UltraEdit (currently I've still version 11.10+1), the beginning of that text file looks like:
Is there a function in UltraEdit
1) to hide/remove those dispensable control characters?
2) to display those control characters coloured (... would be the deluxe variant)?
Thanks for all good hints.
Thomas Wiedmann
if I try to export in Linux the man page of a command with e. g.
man set > man_set.txt,
a text file man_set.txt is created with the content of that manpage, but it also contains the control characters indicating e. g. the colors or font types (bold) displayed in the console. When I try to export such a file with WinWCP to a Windows system and to display it with UltraEdit (currently I've still version 11.10+1), the beginning of that text file looks like:
Code: Select all
NNAAMMEE
set - Read and write variables
SSYYNNOOPPSSIISS
sseett _v_a_r_N_a_m_e ?_v_a_l_u_e?
1) to hide/remove those dispensable control characters?
2) to display those control characters coloured (... would be the deluxe variant)?
Thanks for all good hints.
Thomas Wiedmann