[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Simple sed scripts
From: |
Øyvind A . Holm |
Subject: |
Re: Simple sed scripts |
Date: |
Fri, 1 Jul 2005 10:32:25 +0200 |
On 2005-07-01 08:29:14 Tim Allen wrote:
> Here's a couple of sed scripts I find useful. Quoting is for Windows
> command processor (Cygwin sed):
I have also some scripts I find quite useful when working with CVS:
http://svn.sunbase.org/repos/utils/trunk/ccc
A "cvs stat" which shows only files that are modified, added or
removed. The script itself is unchanged since 1999. ;)
http://svn.sunbase.org/repos/utils/trunk/cvse
Makes it very easy to edit log messages in CVS. Just redirect the
output of "cvs log" to a file, edit the log messages as you like,
and run cvse on the file. If you are using vi(m), it can be done in
an even easier way:
:r !cvs log myfile.c
[make changes to the log messages]
:%!cvse
http://svn.sunbase.org/repos/utils/trunk/sortcvs
Sorts the output of "cvs log" into chronological order.
Regards,
Øyvind A. Holm
--
#!/bin/bash
for f in 1 2 3; do
PREF=http://musthave.sunbase.org/Stallman/stallman${f}c
wget $PREF.sub ; mplayer -cache 8192 -sub stallman${f}c.sub $PREF.mpeg
done