Hello
I would like to ask, if is possible to use bash commands implemented in a macro …
For example , I would like to use awk to read the header of a text file, which I want to save in a root tree – ie, using the bash syntax
[code]double mass[2];
awk ‘BEGIN{FS="&&"}/&&/{ print $2}’ param_card.dat > m0
cat m0 | while read m0_mass;do
mass[0] = m0_mass;
done
cout<<" your mass is “<<mass[0]<<” "<<$m0_mass<<endl;
[/code]
Thanks in advance