02-10-2015
If what you show as ^Y represents <CTRL> Y (0x19, "EM"), it is member of the ASCII char set which in turn is a subset of UTF-8. Although there exist byte sequences that are not valid UTF-8 characters, they should not show up in texts or HTML files, unless created by a failed transmission or conversion.
Please show us a hexdump (od -ctx1 file) of your problematic file.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to check ftp'd incoming files for characters that are not alphanumeric,<tab>, <cr>, or <lf> characters. Each file would have 10-20,000 line with up to 3,000 characters per line. Should I use awk, sed, or grep and what would the command look like to do such a search? Thanks much to anyone... (2 Replies)
Discussion started by: jvander
2 Replies
2. UNIX for Dummies Questions & Answers
How could I check if a string variable contains at least (or only) 2 characters, and check and make sure that the string does not contain any numeric digits?...I need to know how to do this as simple as possible. and I am using the Ksh shell. Thanks. (1 Reply)
Discussion started by: developncode
1 Replies
3. Shell Programming and Scripting
Sometimes obvious things... are not so obvious. I always thought that it was possible to grep non printable characters but not with my GNU grep (5.2.1) version.
printf "Hello\tWorld" | grep -l '\t'
printf "Hello\tWorld" | grep -l '\x09'
printf "Hello\tWorld" | grep -l '\x{09}'
None of them... (3 Replies)
Discussion started by: ripat
3 Replies
4. UNIX for Dummies Questions & Answers
i have a file which contains non printable characters
like enter,escape etc
i want to delete them from the file (2 Replies)
Discussion started by: alokjyotibal
2 Replies
5. HP-UX
I have been using OKI data Microline printers; models 590 and 591 to print a bar code using the following escape sequence:
\E^PA^H^C00^D^C^A^A^A\E^PB^H
The escape sequence is stored in a unix file which is edited using vi.
Now, we are considering Microline printer model 395C and the bar code... (3 Replies)
Discussion started by: Joy Conner
3 Replies
6. Shell Programming and Scripting
cp $l_options $srcdirfile $destdirfile
If i want to check whether there is a non printable character in the variables
$l_options $srcdirfile $destdirfile
how it can be done? (2 Replies)
Discussion started by: lalitpct
2 Replies
7. Shell Programming and Scripting
Hi,
We have a non printable character "®" in our file , we want to remove this character, we tried tr -dc '' < oldfile> newfile but this command is removing all new line entries along with the non printable character and all the records are coming in one line(it is changing the format of the... (2 Replies)
Discussion started by: pyaranoid
2 Replies
8. UNIX for Dummies Questions & Answers
Hi,
in a file, i have records as below:
123|62|absnb|267629
123|267|28728|uiuip
123|567|26761|2676
i want to remove the non printable characters after the end of each record.
I guess there are certain charcters but not visible.
i don't know what character that is exactly.
I used... (2 Replies)
Discussion started by: pandeesh
2 Replies
9. Shell Programming and Scripting
Unable to grep:
Able to grep: (11 Replies)
Discussion started by: proactiveaditya
11 Replies
10. Shell Programming and Scripting
Hi,
I have a huge file (50 Mil rows) which has certain non-printable ASCII characters in it. I am cleaning the file by deleting those characters using the following command -
tr -cd '\11\12\15\40-\176' < unclean_file > clean_file
Please note that I am excluding the following -
tab,... (6 Replies)
Discussion started by: rishigc
6 Replies
IBAM(1) IBAM(1)
NAME
IBAM - the Intelligent Battery Monitor
SYNOPSIS
ibam [options]
DESCRIPTION
IBAM-0.3, the Intelligent Battery Monitor
(C) 2001-2004 Sebastian Ritterbusch
OPTIONS
-h, --help
displays help message
-v, --version
displays software version
-b, --bios
show bios apm guesses
-s, --seconds
displays times in seconds
-c, --correctseconds
displays changes in seconds
-r, --readonly
no files will be updated
-a, --all
show ALL information
--battery
show battery time
--batteryadaptive
show adaptive battery time
--batterybios
show bios battery time guess
--percentbattery
show battery percentage
--percentbios
show bios percentage
--charge
show charge time
--chargeadaptive
show adaptive charge time
--percentcharge
show charge percentage
--totalbattery
show total battery time
--totalbatteryadaptive show adaptive total battery
--totalcharge
show total charge time
--totalchargeadaptive
show adaptive total charge
--plot[=profiles]
use gnuplot to plot battery and charge graphs and plot the last <profiles> additional profiles
--plotderivations
same as above plus standard deviations
--plotdeviations
same as above plus standard deviations
--import
import V0.1 data from current directory
--profile
enable additional yet unused profiling
--noprofile
disable additional profiling
--credits
to everyone contributing to ibam
AUTHOR
This manual page was written by Martin Wuertele <martin@wuertele.net> for the Debian GNU/Linux system (but may be used by others).
2 IBAM(1)