Results 1 to 1 of 1
Hi all,
RHLINUX 4
IH ave a file with the following output:
$cat -vet filename
#next step is to check for the hardware$
if [ `uname -m` != $UNAME ]; ...
- 03-02-2009 #1Linux Newbie
- Join Date
- Jul 2007
- Posts
- 144
removing non printable characters from a file
Hi all,
RHLINUX 4
IH ave a file with the following output:
$cat -vet filename
#next step is to check for the hardware$
if [ `uname -m` != $UNAME ]; $
then$
clear$
echo "*-----------------------------------------------------------------*"$
echo "| Only 32-bit architecture is supported with this Oracle version |" $
echo "*-----------------------------------------------------------------*" $
exit$
As you can see the file has non printable characters due towhich i am getting :
unexpected end of file error.The file is big and this just an extract of it.
How to remove these characters?
Thanks


Reply With Quote