Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

grep on result of curl

curl -v https://www.putorius.net/grep-string-from-a-variable.html 2>&1 | grep cache-control

> cache-control: max-age=31536000, must-revalidate
Source by www.putorius.net #
 
PREVIOUS NEXT
Tagged: #grep #result #curl
ADD COMMENT
Topic
Name
3+3 =