Sorry for the off-topic post, but I guess someone else may hit the same
Having developed a rails application, I now need to put GPL text and a
copyright notice at the start of each source file. For the .rb files,
will look like:
Copyright 2006 Robert J…
and for the .rhtml files it will look like:<!-- Copyright 2006 Robert J.......... Can anyone think of a neat way to do this prepending programatically on Linux, rather than by hand? I'm sure I can be done with awk, sed, grep etc. Thanks in advance, -- Robert J.