Sponsored Content
Full Discussion: What are <84>, <82>?
Top Forums UNIX for Beginners Questions & Answers What are <84>, <82>? Post 303003884 by RavinderSingh13 on Friday 22nd of September 2017 06:08:21 AM
Old 09-22-2017
Quote:
Originally Posted by CaptSutter
Hi,
I am editing a text file in VI and am occasionally seeing "characters" <82> and <84>. in my VIM they are marked in the same way the EOL character ^M is.
When running
:cat filename.txt
the characters seem to be read as a linefeed.
How do I search and replace these characters in VI.
What are they?
I do know that for the EOL character I press CTRL-V and "Enter" to get ^M.
Is there a list of these characters somewhere. <82> does not seem to be "T"
Hello CaptSutter,

Welcome to forums, I hope you will enjoy learning and sharing knowledge here. Coming to your question. You could see control M characters by doing cat -v Input_file and if you want to remove control M characters from Input_file then use following command too on same(if your objective is to only remove control M characters).
Code:
tr -d '\r' < Input_file > temp_file && mv temp_file Input_file

Let me know if you have any queries on same.

Thanks,
R. Singh
 
set_color(1)							       fish							      set_color(1)

NAME
set_color - set_color - set the terminal color set_color - set the terminal color Synopsis set_color [-v --version] [-h --help] [-b --background COLOR] [COLOR] Description Change the foreground and/or background color of the terminal. COLOR is one of black, red, green, brown, yellow, blue, magenta, purple, cyan, white and normal. o -b, --background Set the background color o -c, --print-colors Prints a list of all valid color names o -h, --help Display help message and exit o -o, --bold Set bold or extra bright mode o -u, --underline Set underlined mode o -v, --version Display version and exit Calling set_color normal will set the terminal color to whatever is the default color of the terminal. Some terminals use the --bold escape sequence to switch to a brighter color set. On such terminals, set_color white will result in a grey font color, while set_color --bold white will result in a white font color. Not all terminal emulators support all these features. This is not a bug in set_color but a missing feature in the terminal emulator. set_color uses the terminfo database to look up how to change terminal colors on whatever terminal is in use. Some systems have old and incomplete terminfo databases, and may lack color information for terminals that support it. Download and install the latest version of ncurses and recompile fish against it in order to fix this issue. Version 1.23.1 Sun Jan 8 2012 set_color(1)
All times are GMT -4. The time now is 04:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy