From: Brian Foster (blf at domain utvinternet.ie)
Date: Mon 10 Jun 2002 - 18:18:51 IST
| Date: Mon, 10 Jun 2002 10:26:55 -0500
| From: Stephen_Reilly at domain dell.com
|
| 'course another easy way of doing it would be to have a marker at
| the end of each line. [ ... ]
NO. that (probably) breaks more often then it works.
first problem is this relies on any program (or human)
which modifies any of the lines in question to preserve
the magical comment. this is unlikely; comment lines
tend to be preserved, but comments-within-changed-lines
very often are not.
second problem is this also assumes it is possible to
mark all such lines. this is clearly not the case for
stuff like:
foo.barString=Here is a line you cannot mark.
i.e., where the value is terminated by the newline.
third problem is it seems less likely for files to have a
general(-ish) `#-to-newline' commenting convention, even
when they have a `lines-starting-with-#' convention. ;-(
cheers!
-blf-
--
Innovative, very experienced, Unix and | Brian Foster Dublin, Ireland
Chorus (embedded RTOS) kernel internals | e-mail: blf at domain utvinternet.ie
expert looking for a new position ... | mobile: (+353 or 0)86 854 9268
For a résumé, contact me, or see my website http://www.blf.utvinternet.ie
Stop E$$o (ExxonMobile): «Whatever you do, don't buy Esso --- they
don't give a damn about global warming.» http://www.stopesso.com
Supported by Greenpeace, Friends of the Earth, and numerous others...
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:11 GMT