AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
tomh
September 07, 2005 07:02AM
The short answer is no. However, the long answer is yes, if you define your own expr function in terms of somethat that's floating point capable:

#! /bin/sh

function expr { python -c "print $*"; }
function exprtrue { [ `python -c "print $*"` == True ]; }

n=0
while exprtrue "$n < 2"; do

echo $n
n=`expr $n + .2`

done

Subject Author Posted

Bash programming question

Giovanni September 07, 2005 06:31AM

Re: Bash programming question

tomh September 07, 2005 07:02AM

Re: Bash programming question

Giovanni September 07, 2005 08:43AM