for f in `cat deletefiles.txt` ; do p4 delete "$f" ; done #### p4 delete `cat deletefiles.txt` #### xargs -d \n p4 delete < deletefiles.txt