Replace tee with append redirection

This commit is contained in:
Zach Borboa
2015-10-20 23:37:43 -07:00
parent 652d32df4b
commit f9d0b9c19b
+4 -4
View File
@@ -15,13 +15,13 @@ head -n "${curl_max_line_number}" "src/Curl/Curl.php" | \
egrep "^ .* function .*" | \
egrep "^ public" | \
sort | \
perl -pe 's/^ public (.* )?function /Curl::/' | \
tee -a "README.md"
perl -pe 's/^ public (.* )?function /Curl::/' \
>> "README.md"
egrep "^ .* function .*" "src/Curl/MultiCurl.php" | \
egrep "^ public" | \
sort | \
perl -pe 's/^ public (.* )?function /MultiCurl::/' | \
tee -a "README.md"
perl -pe 's/^ public (.* )?function /MultiCurl::/' \
>> "README.md"
echo '```' >> "README.md"
echo >> "README.md"