On Friday 29 August 2008, Adam wrote: > Chris Knadle wrote: > >> Hi everybody! After considerable effort, I am almost ready to release > >> my first program for Linux, free to the public, and I'd like to do it > >> the right way. > > > > First thing you'd probably want to do is post it up on your site; or make > > a site to do that with, if you don't have one yet. ;-) > > I sort of have one, in that it's a valid URL. This is just one script, > so I'm trying to ftp it there as text, but I seem to end up with > everything as one very long line.
Try transferring the file over FTP using an ASCII transfer instead of a binary transfer. The purpose of FTP ASCII transfer is to translate text files between Windows and Unix systems -- Windows linebreaks using carrage return + linefeed characters, and Unix systems use only the linefeed character. Some FTP servers won't accept ASCII transfer (by configuration), and if you find that's the case you can translate the file to Windows format (or vice-versa) before uploading it as a binary. There are several methods of doing this, such as with 'tofrodos', 'dos2unix', 'unix2dos', or with a 'tr' command. http://www.vasudevaservice.com/documentation/how-to/converting_dos_and_unix_text_files > I figure that should be sufficient, > since there's no "installation" -- just download (or even cut and paste) > to an appropriate directory, chmod u+x (or a+x), change a few specific > variables near the top as desired (e.g. default output directory), and > run. Does that sound reasonable? That should be fine. -- Chris -- Chris Knadle [EMAIL PROTECTED]
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Mid-Hudson Valley Linux Users Group http://mhvlug.org http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug Upcoming Meetings (6pm - 8pm) MHVLS Auditorium Jun 4 - Sqeak! and eToys Jul 2 - KVM (Tenative) Aug 6 - Zenos Sep 3 - TBD
