On 15.04.15 09:41, Stephen Leake wrote:
I seem to get good result so far, using this little replacement
>on a Mac; it should be POSIX compliant:
>
>
>#! /bin/sh
I'm confused; does this mean you_have_  a Unix (POSIX?) shell?

Yes, this machine is running Mac OS X 10, i.e. BSD+GNU/Darwin;
it uses bash(1) as its shell. (Emacs is from http://emacsformacosx.com)
Compiling portable Unix programs usually succeeds so that maintaining
another Unix on top of the local Unix is usually unnecessary. ;-)

But that distribution doesn't have dos2unix?

It doesn't have it. It does have libiconv, though. (And tr(1).)

Did you try compiling dos2unix from source?

Yes, I did. For one thing, compiling requires libintl.h, which
is a GNU thing, from libgettext, maybe. (I'll speculate that Simon has
installed it when compiling other GNU programs, or gcc?)


_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org

Reply via email to