Hi Melissa,
the issue is that windows applications use newline/return pair as an eol
character(s)
whereas UNIX expects JUST the newline character for eol.
So you either need to get an editor on windows that will use the unix style
eol,
OR run the scripts thru d2u (or dos2ux), different names on different
systems, but the
purpose of this command is to specifically strip off the return chars from
each line...
Samba is NOT adding or subtracting anything from the files during the
cut&paste.
Hope this helps,
Don
-----Original Message-----[MCCALL,DON (HP-USA,ex1)]
From: Melissa Cayer [mailto:MCayer@LightSys.com]
Sent: Thursday, February 14, 2002 10:02 AM
To: samba@lists.samba.org
Subject: [Samba] Win2k copy/paste to Solaris8
Hello,
I am creating some DB2 scripts on Win2k with Notepad. When I copy/paste to
a Sol8 machine using a Samba shared directory, I get strange characters in
the file. I know this because I try to run the DB2 script and DB2 complains
about unexpected End of File reached during command. If I use the Sol8 text
editor and delete each end of line then the script runs fine.
Is there some strange translation going on that I can control so the
copy/paste works OK without having to edit the file on Sun?
-Melissa
-------------- next part --------------
HTML attachment scrubbed and removed