Hi everyone!!
I need to apply a simple command to extract columns from a matrix, but I need to extract contemporary from the first to the tenth columns, than from the eleventh to the twentyth and so on...
how can i do that?
Hi everyone!!
I need to apply a simple command to extract columns from a matrix, but I need to extract contemporary from the first to the tenth columns, than from the eleventh to the twentyth and so on...
how can i do that?
See
man cut
For example:
echo AAA:BBB:CCC:DDD:EEE:FFF:GGG:HHH:III:JJJ:KKK | cut -d: -f2-4,7-
BBB:CCC:DDD:GGG:HHH:III:JJJ:KKK