Skip to content

Commit f9d0b9c

Browse files
committed
Replace tee with append redirection
1 parent 652d32d commit f9d0b9c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/update_readme_methods.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ head -n "${curl_max_line_number}" "src/Curl/Curl.php" | \
1515
egrep "^ .* function .*" | \
1616
egrep "^ public" | \
1717
sort | \
18-
perl -pe 's/^ public (.* )?function /Curl::/' | \
19-
tee -a "README.md"
18+
perl -pe 's/^ public (.* )?function /Curl::/' \
19+
>> "README.md"
2020
egrep "^ .* function .*" "src/Curl/MultiCurl.php" | \
2121
egrep "^ public" | \
2222
sort | \
23-
perl -pe 's/^ public (.* )?function /MultiCurl::/' | \
24-
tee -a "README.md"
23+
perl -pe 's/^ public (.* )?function /MultiCurl::/' \
24+
>> "README.md"
2525
echo '```' >> "README.md"
2626
echo >> "README.md"
2727

0 commit comments

Comments
 (0)