This page should give you an overview about scripts, that are commonly used among the HCAL group.

templReplace: a awk script written by Alander Kaplan. It replaces certain regular expressions (tag) inside a file with an expressions specified elsewere. There are three different types of tags: 1. ##[[Some_Name]] : here the tag is replaced with a simple variable.

Example: content of file a: ...blabla ##[[TAG_A]] blabla...
         content of file b: ... TAG_A=Somevalue ...
         Usage:              templReplace filename_b filename_a

This is commonly used in the generation of steering files for Marlin/caliceMarlin

2. ##{{Some_Filename}} : here the tag is replaced with the content of the file Some_Filename

Example:

3. ##((Some_Name)) : unknown

Example:

Commonly used scripts (last edited 2012-03-21 14:58:59 by clemensguenter)