From f9d0b9c19bf734b474fc61af077e1cb4b2ad2f3c Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Tue, 20 Oct 2015 23:37:43 -0700 Subject: [PATCH] Replace tee with append redirection --- scripts/update_readme_methods.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/update_readme_methods.sh b/scripts/update_readme_methods.sh index d521bf3..62b1f11 100755 --- a/scripts/update_readme_methods.sh +++ b/scripts/update_readme_methods.sh @@ -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"