cyclus / cycstub

A repository providing a skeletal set of modules for use with the Cyclus fuel cycle simulator.
Other
0 stars 10 forks source link

Create a sed script for cycstub repo #10

Closed scopatz closed 10 years ago

scopatz commented 11 years ago

From cyclus/cyclus#293


The new cycstub repo requires the user to search and replace instances of StubFacility, etc with their module name MyModuleName. Since this is tedious and crosses multiple files, a sed+bash script that does this would be simple and beneficial. The input variable should be their model's name, MyModuleName, and the script should replace all instances of StubFacility, STUBFACILITY, etc. (or whatever) with such forms of MyModuleName.

The sed script should be kept in cycstub.

This is part of the story of issue cyclus/cyclus#257.

scopatz commented 10 years ago

Done.