Date: Fri, 23 May 2003 17:27:33 -0300 (ART) From: Fernando Gleiser <fgleiser@cactus.fi.uba.ar> To: freebsd-questions@freebsd.org Subject: Re: Maybe OT: Automatic CRLF conversion? Message-ID: <20030523171250.F35791-100000@cactus.fi.uba.ar> In-Reply-To: <20030523185819.GA1266@dhumketu.homeunix.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 24 May 2003, Shantanu Mahajan wrote: > > col -bx < file > newfile > > This will remove ^M from the file. Some people replied with answers like that. I thank you very much for the help, but I already knew beforehand at least a dozen different ways of doing it by hand, including but not limited to: sed, perl, awk, dos2unix, vi, tr, ed and custom C code. As I said in my first mail people DON'T have shell access to the server, they don't know and don't want to know anything about Unix and I have many other things to do other than waiting for them to call me every time they upload a file (20-30 times a day) to fix things. I want to know if samba has the equivalent of FTP's ASCII transfer so it handles the conversion "on the fly". If it doesn't I'll go the cron or wait_on (thanks Chris for the pointer) way to monitor the directories and run the script every time people upload a file. Thanks again. Fer
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030523171250.F35791-100000>