Hi,
Say I have a directory of files each with a header which looks like this:
#
# $RCSfile: MF.form,v $
# $Author: david $
# $Revision: 1.46.2.6.2.3.2.4 $
#
I want to extract from each file into a variable the long revision number between "$Revision: " amd " $" at the end of the line.
I assume I want to use sed for this but i'm not sure how and I'd prefer not to have to go into a perl script, however, if that is the only way then just say as I can do it myself.
Cheers
Rob
Say I have a directory of files each with a header which looks like this:
#
# $RCSfile: MF.form,v $
# $Author: david $
# $Revision: 1.46.2.6.2.3.2.4 $
#
I want to extract from each file into a variable the long revision number between "$Revision: " amd " $" at the end of the line.
I assume I want to use sed for this but i'm not sure how and I'd prefer not to have to go into a perl script, however, if that is the only way then just say as I can do it myself.
Cheers
Rob