curl https://codeload.github.com/zendframework/zf1/tar.gz/release-1.12.9 -o zf1-release-1.12.9.tar.gz tar xzf zf1-release-1.12.9.tar.gz --strip-components 3 zf1-release-1.12.9/library/Zend rm -r Auth/Adapter/Ldap.php Cache/Backend/{Apc.php,Libmemcached.php,Memcached.php} Captcha/ \ Db/{Adapter,Statement}/{Db2*,Mysqli*,Oracle*} Db/Adapter/Pdo/{Ibm*,Mssql.php,Oci.php} \ Db/Statement/Pdo/{Ibm.php,Oci.php} Dojo* Feed* Ldap* Pdf* Search/ \ Serializer/Adapter/Igbinary.php Service/ Soap/ find . -type f -name \*.php -execdir sed -i '' '/require_once/d' "{}" \;