in reply to Combining files
but if you really wanted to use perlperl -pe '' staffinfo[0-9][0-9] > staffinfo_full