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