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  

|
June 04, 2020 09:51PM
Thanks for the quick replies,

Basically I'm trying to get the index of certain subbricks within an output
the back ticks seemed to mess with the output formatting a bit
I was able to get something working using the following:
3dinfo -subbrick_info ${input_file} | grep "${subbrick}" | grep "'${name}#" > $TFILE
idx=$(echo $(awk '{print $4}' $TFILE))
echo "${idx[@]//#}" > "${work_dir}/idx_${name}_${subbrick}.1D"

I would still be curious to know the reason for the THD_zzprintf() issue.
Subject Author Posted

THD_zzprintf() long string truncation = the ZSS syndrome

mjeffers June 04, 2020 03:25PM

Re: THD_zzprintf() long string truncation = the ZSS syndrome

ptaylor June 04, 2020 04:21PM

Re: THD_zzprintf() long string truncation = the ZSS syndrome

mjeffers June 04, 2020 04:40PM

Re: THD_zzprintf() long string truncation = the ZSS syndrome

ptaylor June 04, 2020 05:30PM

Re: THD_zzprintf() long string truncation = the ZSS syndrome

mjeffers June 04, 2020 09:51PM

Re: THD_zzprintf() long string truncation = the ZSS syndrome

rick reynolds June 04, 2020 10:14PM

Re: THD_zzprintf() long string truncation = the ZSS syndrome

mjeffers June 04, 2020 10:37PM

Re: THD_zzprintf() long string truncation = the ZSS syndrome

ptaylor June 05, 2020 09:44AM

Re: THD_zzprintf() long string truncation = the ZSS syndrome

japees November 22, 2021 02:57PM

Re: THD_zzprintf() long string truncation = the ZSS syndrome

rick reynolds December 02, 2021 09:09AM