LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Hidden symbol in in files (https://www.linuxquestions.org/questions/linux-newbie-8/hidden-symbol-in-in-files-4175424842/)

lanDao 08-30-2012 03:14 PM

Hidden symbol in in files
 
Hello,

have some .sh files directory what configureted by .conf files and run java with some variables.
Problem was when start run scripts - shell return error that class didnt find in libary. I try many crazy things to do but find taht reason was been in some symbol after libary whay in my conf file.
All files was maked before in windos, thats why it's gives me its error.

How do i find symbols what i didnt see in my files? And how to understnad what problem can be in encoding?
dos2unix do not realy help me

Long time ago i have some problem like that when try export from xml to csv file, and at that time problem was been in that hidden symbols. That time i use special rogramm to check csv files. But now i work fullly in console and didnot use any GUI programms.

Thanks

MensaWater 08-30-2012 03:43 PM

cat -v <filename>
Will show any non-printing characters.

cat -vT <filename>
Will show tabs in addition to the rest.

jefro 08-30-2012 04:46 PM

Check it with a binary type editor?


All times are GMT -5. The time now is 05:57 AM.