On Sat, Feb 14, 2009 at 1:21 PM, Michael Manti <[email protected]> wrote:
> You can run dos2unix on your do files before ftp'ing them to the Unix
> server. dos2unix will convert the line breaks.
>
> dos2unix is available as part of Cygwin (http://www.cygwin.com/). IIRC,
> Cygwin installs dos2unix by default. If not, Cygwin's graphical installer
> makes it easy to find and install GNU software.
>
> Googling, I also found http://www.dos2unix.org/, which converts files
> online.
Or you could likely save yourself the hassle and run 'dos2unix' on the
files _after_ FTPing them to the UNIX server where you will likely
find that 'dos2unix' is already installed ;-)
That said theres nothing wrong with having a UNIX-like shell at your
disposal under M$-Windows (which is what Cygwin is), and you can even
install an X server and use it to handle remote
X-sessions/applications.
Neil
--
"The combination of some data and an aching desire for an answer does
not ensure that a reasonable answer can be extracted from a given body
of data." ~ John Tukey
Email - [email protected]
Website - http://slack.ser.man.ac.uk/
Photos - http://www.flickr.com/photos/slackline/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/