Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Adding text to the beginning of a file



On 3/16/07, Dave M G <martin@example.com> wrote:
# File modified 2007 03 16
# by Dave M G
# --

Can I wipe out everything up to and including the "--" and then past in
new text?

Dave, what do you want is to log the date of modification and the the perpon who does it, right?

If it is the purpose of what you are trying to do, then use some
source code control system like CVS, they can do it ( and more, see
below ) for you.

Here is an example:

* $Id: ansi.c,v 1.1.1.1 2002/03/27 23:25:18 andrew_belov Exp $

You can also check the history if any files.

--
Best Regards,
Nguyen Hung Vu
vuhung16plus{remove}@example.com
VIQR Standard: http://vi.i18n.kde.org/viqr
http://www.flickr.com/photos/vuhung/tags/fav/


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links