Is it possible to direct sed or tr to use a list of substitutions in a file? I realise that sed can pull a list of commands from a file, I am just trying to make it easier on the end user.
e.g.
Code:
'#MyVarName1' 'Logic.Values.Digital01'
'#MyVarName2' 'System.Stats.Resets.Count'
is a much easier file for the user to edit, instead of ...
Code:
s/'#MyVarName1'/'Logic.Values.Digital01'/g
s/'#MyVarName2'/'System.Stats.Resets.Count'/g
easier to read too...