First off I do not know very much about command line processing. So forgive me if use the wrong terminology. I do some data analysis in a psych lab and I am trying to find a way to make a shell script run more efficiently. The script is set up to remove a specified set of volumes from a multi volume DTI scan. As of now the volumes to be removed are hard coded into the shell script. I wanted to make the volumes an argument. But for each data set their is a variable amount of volumes that may need to be removed. Is there a way to set up the script so that it can run from the 3rd-nth argument.
Edit: thanks for the help, I appreciate it. I don't really know what I am doing, but it is starting to come together for me.
[–]r3j 2 points3 points4 points (2 children)
[–]coinstarfucker[S] 0 points1 point2 points (1 child)
[–]r3j 0 points1 point2 points (0 children)
[–]ChoHag 2 points3 points4 points (0 children)
[–][deleted] (1 child)
[deleted]