Chris Radek said: > On Mon, Jul 21, 2008 at 07:20:53PM -0700, Terry wrote: >> I rewrote the program using the text editor with small case letters >> and the one from the text editor ran perfectly. >> >> Is there something on a windows based text file that I cant see >> and is causing the resonance? >
Windows based text file? Asking for trouble. Either run that script through dos2unix or manually edit it with vi or whatever in Linux and remove CR at the end of line. CR is usually shown as ^M (control M) in many editors and 0D in hex mode. One way to go about this is to install mc (Midnight Commander) which has also a good editor and allows you to view files in hex format. That would tell you what happened to your file. Not sure why "rewrite a program" to change letter case when you can run it through sed, awk, perl etc. to do it for you. Less danger than edit it in Windows. I've seen "professionals" write bash scripts in Windows to be run in Linux. Grrrr! They ended up using webex to troubleshoot the problem at remote site :-) > We humans are so good at identifying patterns that we sometimes > identify them even when they aren't there. I think that's what's > going on when you see that upper/lowercase, or windows based text > files are causing a problem. > .... -- Rafael ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
