on 2002/05/20 13:43,  [EMAIL PROTECTED] sent:

>> Hello all,
>> 
>> I want to help some how, and as X11 is a little bit out of date, I thought
>> that I could submit some diffs vs it or something.  Is the source in XML?
>> Is my doing this desirable?  How would you like me to go about it?
>> 
>> Best regards,
>> Lloyd
>> 
> 
> Hi.  You can find the source file at
> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/fink/web/xml/x11/x11.xml
> Diffs to that source would be a good way to proceed.
> 
> Thanks,
> Dave

Oh man, I have really had a time of it.  I have only owned a Mac a couple of
months -- my background is mostly Windows and AIX.  Anyway, I downloaded
x11.xml .  Opened it in the oxymoronic, Mac TextEdit.   I had a full updates
and went to save, and which time it informed me that "TextEdit" cannot save
in plain text. Ok :-7  So, I [select all] -> [copy] -> [paste] into bbedit
lite.  Then I follow with:
Work -> save -> repeat.
A couple hours later, I finish and diff -> everything is diff.  I open the
file in vi.  Noted the ^M, 'dos2unix [in] > [out].

Ouch!  It is one continuous like -> no punctuation!  Words at line extrema
have been joined!  I'm screwed!  I 'man dos2unix' and discover that it does
in place update of the origin.  Double ouch!   I now know that I should have
issued the command 'dos2unix < [in] > [out]' -- I am sure I have used a
version (or a similar program, where my semantics were sound).  I would be a
LOT happier now,  but based on my result that would still have not resulted
in the file I desire.  I know that UNIX, Mac, and Windows all use different
ways to terminate lines in text files.  My questions:
(a) I find info the web about a  'dos2unix', '-c mac' option that does not
seem to be present on Mac OS X 10.3 ?! [1]  So how do I convert?
(b) I seem to recall being asked if I wanted to store files in Mac or UNIX
text format.  Was that for a particular app or for the whole system?

I took a couple hours break, and proceeded to redo my changes using 'vi'.
Well, I have done what I can (feel like) for now -- there are some evident
signs of laziness present in my results.

I do not know how to build the webpage to view a pretty version.  Hopefully,
my small attachment is alrite.


Best regards,
Lloyd



[1] maybe I should invest some time to have dos2unix protect (l)users like
me :-(

Attachment: x11.xml.diff.bz2
Description: Binary data

Reply via email to