News for hackers. Stuff that matters.
Re:Man accidentally 'deletes his entire company' with one li... by ChrisArgyle on Thursday April 14, 2016 @05:15PM (#11500407)

  path=$foo/$bar

  if [[ $path =~ [[:space:]]*/[[:space:]]* ]]; then
  
      echo NOPE
  
  else
  
      rm -rf $path
  
  fi

There are no comments on this comment yet.