| Date: Mon, 10 Jun 2002 10:26:55 -0500
| From: Stephen_Reilly at 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 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...
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!