You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
#!/bin/sh
|
|
# using '-i.bak' and 'rm .bak' for gnu sed (linux) and bsd sed (macosx) compat
|
|
sed -i.bak "s/^\/\/package cwtch/package cwtch/" lib.go
|
|
sed -i.bak "s/^package main/\/\/package main/" lib.go
|
|
sed -i.bak "s/^func main()/\/\/func main()/" lib.go
|
|
rm lib.go.bak
|