sean finney on 19 Jan 2005 23:33:59 -0000 |
for the other vi users out there, i haven't been able to dig up a way to do this... say i have a line formatted something like this: -- sean finney <seanius@debian.org> Wed, 19 Jan 2005 18:16:33 -0500 is there an easy way to replace everything from wednesday on with the output of date -R? that is, i'd like to do something like s/Wed.*/`date -R`/ only, that doesn't work :( the only way i can think of doing this is to write a small script/alias that calls sed and date, but i'm hoping i've missed something... sean Attachment:
signature.asc ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|