Is there any way to get an ASCII output for an ASCII input (short string like "GET T").
I tried minicom but it does not work well.
EXAMPLE:
stty speed 9600 cs8 ...
echo "GET T" > /dev/ttyUSBx
OUTPUT:
/SOME/PLACE/WHERE/I/CAN/SEE/WHAT/HAPPENED.{TXT,LOG,...}
or straight LINE OUTPUT
NO X Solution.
I need to strip non-ASCII characters off a file. I was using the command -
/usr/xpg4/bin/tr -cd '\0-\177' <non-ASCII_file.dat >ASCII_file.dat
Though it worked in the past, it is not working now. It is now stripping off all the alphabet along with non-ASCII characters.
Hi All,
I am facing some problems with bad characters in my file.For example-
Code:
00000000509 TCI DEVOFFERS= 1
Now I want to remove all bad characters and replace with *.
Please suggest some solution.
Along with that How to mention a range of ASCII values in TR command to replace?
Say I want to replace ASCII value 32 -38(Dec) with Asterisk(*), how to perform with TR command in UNIX.
Could you please provide a proof (e.g. and RFC section) that 7bit ASCII characters (like plain old ASCII space, code 0x20) that were previously illegal are still disallowed in IDNs?
Tweet
Mplayer is a marvellous media player. Not just the fact that it can play almost all audio/video formats, it even provides you with a powerful command line. You can handle every feature of Mplayer through the terminal.
I've got a log file that is ASCII, except for a few UTF-8 characters (which I can fix for a future version).
For the moment, I need to figure out how to get this file to a viewable/searchable/editable state by gedit/less etc.
enca -L none file returns 7bit ASCII characters
Surrounded by/intermixed with non-text data.
I am trying to manipulate a txt file and remove non-ascii characters from the text. I don't want to remove the line. I only want to remove the offending characters. I am trying to get the following expression to work. Please advise. Thanks
sed '/[\x80-\xFF]/d'
ascii 3 years 25 weeks ago [code]Thanks to abelmora for:code]Title: ascii.tczDescription: The ascii utility provides easy conversion between various byte representations and the American Standard Code for Information Interchange
I'm at school and stuck on a project, using TRUE basic. We have to get the user to type in a key, then take the key and find the ASCII code, and then print both. I've got the input for the key but all of us are completely stuck on the ASCII part.
Any ideas?
Thanks