Hi,
For completeness sake :), note that
#!/bin/bash
root -l -b<<EOF
.L someROOTmacro.C+
someROOTmacro(..)
.q
EOF
is strictly equivalent to
root -l -b -q someROOTmacro.C+(..)
Cheers,
Philippe.
On 7/29/11 2:25 PM, Adrian Sevcenco wrote:
> On 07/29/2011 12:39 PM, suvayu ali wrote:
>> To retain your workflow all you need is to change the shebang line from
>> root to bash/<whatever shell you use>.
>>
>> An example:
>>
>> #!/bin/bash
>>
>> root -l -b<<EOF
>> .L someROOTmacro.C+
>> someROOTmacro(..)
>> .q
>> EOF
> hmm.. thanks! this is an idea worth exploring...
>
> Thanks,
> Adrian
>
Received on Fri Jul 29 2011 - 21:39:52 CEST
This archive was generated by hypermail 2.2.0 : Fri Jul 29 2011 - 23:50:01 CEST