Code:
Input:
a b c d e f g h i
1,1 1,2 1,3 1,4 1,5 1,6 1,7 1,8 1,9
2,1 2,2 2,3 2,4 2,5 2,6 2,7 2,8 2,9
3,1 3,2 3,3 3,4 3,5 3,6 3,7 3,8 3,9
-----
Results for sequence "recut 1,2,1,4,6-":
a b a d f g h i
1,1 1,2 1,1 1,4 1,6 1,7 1,8 1,9
2,1 2,2 2,1 2,4 2,6 2,7 2,8 2,9
3,1 3,2 3,1 3,4 3,6 3,7 3,8 3,9
Environment: LC_ALL = C, LANG = C
(Versions displayed with local utility "version")
OS, ker|rel, machine: Linux, 3.16.0-4-amd64, x86_64
Distribution : Debian 8.6 (jessie)
bash GNU bash 4.3.30
recut - ( local: RepRev 1.1, ~/bin/recut, 2010-06-10 )
csvtool - ( /usr/bin/csvtool, 2014-08-06 )
Missing textutils:
http://www1.cuni.cz/~obo/textutils/ verified (2016.08)