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  

|
March 10, 2003 01:00PM
I'm having some trouble getting 3dnotes to accept escape codes:

[adamt@sodium read_header]$ 3dNotes
3dNotes - a program to add, delete and show notes for AFNI datasets.
(c)1999 Medical College of Wisconsin
by - T. Ross

Usage: 3dNotes [-a "string"] [-h "string"][-d num] [-help] dataset

Where:
dataset Afni compatible dataset [required].
-a "str" Add the string "str" to the list of notes.
Note that you can use the standard C escape codes,
\n for newline \t for tab, etc.
<snip>

[adamt@sodium read_header]$ echo "bob\nis\nyour\nuncle"
bob
is
your
uncle
[adamt@sodium read_header]$ 3dNotes -a "bob\nis\nyour\nuncle" ../adam20030227+orig
[adamt@sodium read_header]$ 3dNotes ../adam20030227+orig

----- NOTE 1 [Mon Mar 10 12:47:10 2003] -----
bob\nis\nyour\nuncle
[adamt@sodium read_header]$



Note the \n is not converted to a newline. Any tips?

Thanks,
-Adam Thomas
Subject Author Posted

escape codes in 3dnotes

Adam Thomas March 10, 2003 01:00PM

Re: escape codes in 3dnotes

rick reynolds March 10, 2003 01:12PM

Re: escape codes in 3dnotes

Tom Ross March 10, 2003 02:08PM

Re: escape codes in 3dnotes

bob cox March 13, 2003 02:32PM