Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d7ce4d70ab
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (25 sloc) 1.052 kb
# Make a link to nimblemachines in all the source code.
# I think every file has good links; now we just need to keep them updated.
s#http://sites\.nimblemachines\.com/muforth#http://muforth.nimblemachines.com/#
s#http://pages\.nimblemachines\.com/muforth/#http://muforth.nimblemachines.com/#
# skip the rest - it's only of historical interest
b skip
# put a link into the startup banner of startup.mu4
/\( ### httplink ###/ {
# get next line
N
s/^(.*)\n(.*)/\1\
\ ."\ \ \ http:\/\/pages.nimblemachines.com\/muforth" cr cr/
}
# convert three line banner with old URL to new one-liner
/^[#* ]*This file is part of muFORTH; for project details, visit/ {
N
N
s/^([#* ]*).*/\1This file is part of muFORTH: http:\/\/pages.nimblemachines.com\/muforth/
}
# for any files which still refer to "muforth", convert them and put it a
# one-liner banner.
# This matches C comments, Makefile etc comments, and lines starting with
# zero or more spaces.
s/^([ *#]*This file is part of )muforth\.$/\1muFORTH: http:\/\/pages.nimblemachines.com\/muforth/
: skip
Jump to Line
Something went wrong with that request. Please try again.