SUBJECT: Re : shell Excellent - thanks &NAME , that seems to work . &NAME On Mon , &NUM May &NUM , &NAME &NAME wrote : # !/bin / csh I 've not used the csh for decades , but I guess it 's similarish to sh . . set dirs cat $ &NUM | perl &CHAR &CHAR 's/ ( &CHAR * . $ ext / &CHAR ' Try : set dirs cat $ &NUM | perl &CHAR &CHAR 's/ ( &CHAR * .' ' $ ext' ' /g '