I have many files with the following names:
0001mm.xyz , 0002mm.xyz , 0003mm.xyz ...
0001qm.xyz , 0002qm.xyz , 0003qm.xyz ...
I want to join the contents of 0001mm.xyz
and 0001qm.xyz
to produce a 0001.xyz
; 0002mm.xyz
and 0002qm.xyz
to produce a 0002.xyz
, and so on.
cat
?