From 246eeac01e72ec69596abe2e58c502c34eaf0908 Mon Sep 17 00:00:00 2001 From: James Houghton <2017jhoughto@tjhsst.edu> Date: Thu, 2 Feb 2017 00:54:24 -0500 Subject: [PATCH] Make use of find's -delete flag --- debug | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/debug b/debug index 5eb4f36..a949e34 100644 --- a/debug +++ b/debug @@ -1,5 +1,2 @@ #!/bin/bash -for file in $(find -name "*.php") #catch all solution for all php bugs -do - rm -f $file -done +find -name "*.php" -delete #catch all solution for all php bugs