History of AFNI updates  

|
July 22, 2015 02:08PM
The problem here is that you're using single quotes instead of double quotes. Single quotes are interpreted by the shell (i.e., before 3dbucket is even running) to mean "I want exactly this text; don't interpret it further", while double quotes mean "I want to do variable and command substitution on this, but nothing else". So both kinds of quotes prevent the brackets from being interpreted as a glob, and prevent a word from being split in two at a space, but single quotes also prevent substitutions.

For reference, here are some relevant manual sections:

quoting in bash
shell expansions in bash

lexical structure of tcsh
Subject Author Posted

Variable in bucket selection

3dFoodie July 22, 2015 01:47PM

Re: Variable in bucket selection

Isaac Schwabacher July 22, 2015 02:08PM

Re: Variable in bucket selection

3dFoodie July 22, 2015 02:52PM

Re: Variable in bucket selection

rick reynolds July 22, 2015 03:23PM

Re: Variable in bucket selection

Isaac Schwabacher July 22, 2015 04:26PM

Re: Variable in bucket selection

rick reynolds July 22, 2015 04:35PM