cat $FSLDIR/etc/fslversion
:)
On 20 Sep 2007, at 18:31, Finn Lennartsson wrote:
> Hi,
>
> Writing a simple script, which has to be compatible with both FSL
> 3.3 and 4.0.
>
> Now I am doing a cheat checking if the file $FSLDIR/bin/bedpostx
> exists. However, it would be nice with an if-statement which can tell
> me which version that is actually is present.
>
> Any suggestions?
>
> Kind regards,
>
> Finn L
------------------------------------------------------------------------
---
Stephen M. Smith, Professor of Biomedical Engineering
Associate Director, Oxford University FMRIB Centre
FMRIB, JR Hospital, Headington, Oxford OX3 9DU, UK
+44 (0) 1865 222726 (fax 222717)
[log in to unmask] http://www.fmrib.ox.ac.uk/~steve
------------------------------------------------------------------------
---
|