Hi I'm new to this list, so I apologise if this has ever come up before. I'm using Samba on an HP3000 and can view, change, update files through NT with no problems. The issue I have is when I create a file on the HP3000 is always adds special <CR><LF> characters, which then invalidates the information in the file in NT. Does anyone out there know a way I can remove these characters. -------------- next part -------------- HTML attachment scrubbed and removed
Don't know anything about hp3000. Is it a unix machine? If so, it should end all text lines only with a 0A character. Dos adds the OD 0A at the end of each line. Stripping out the extra 0D is a trivial problem with tr. Adding the extra OD for dos is easy with sed. Joel On Tue, Oct 30, 2001 at 10:50:08AM +0100, Richard Barker wrote:> Hi > > I'm new to this list, so I apologise if this has ever come up before. > > I'm using Samba on an HP3000 and can view, change, update files through NT > with no problems. The issue I have is when I create a file on the HP3000 is > always adds special <CR><LF> characters, which then invalidates the > information in the file in NT. > > Does anyone out there know a way I can remove these characters.
When you create files 'on the 3000' what editor do you use? Don -----Original Message----- From: Joel Hammer [mailto:Joel@HammersHome.com] Sent: Tuesday, October 30, 2001 5:24 PM To: Richard Barker; samba@lists.samba.org Subject: Re: HP3000 problem Don't know anything about hp3000. Is it a unix machine? If so, it should end all text lines only with a 0A character. Dos adds the OD 0A at the end of each line. Stripping out the extra 0D is a trivial problem with tr. Adding the extra OD for dos is easy with sed. Joel On Tue, Oct 30, 2001 at 10:50:08AM +0100, Richard Barker wrote:> Hi > > I'm new to this list, so I apologise if this has ever come up before. > > I'm using Samba on an HP3000 and can view, change, update files through NT > with no problems. The issue I have is when I create a file on the HP3000is> always adds special <CR><LF> characters, which then invalidates the > information in the file in NT. > > Does anyone out there know a way I can remove these characters.-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba