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