Skip to content

Instantly share code, notes, and snippets.

URL="http://stackoverflow.com/"
# store the whole response with the status at the and
HTTP_RESPONSE=$(curl --silent --write-out "HTTPSTATUS:%{http_code}" -X POST $URL)
# extract the body
HTTP_BODY=$(echo $HTTP_RESPONSE | sed -e 's/HTTPSTATUS\:.*//g')
# extract the status
HTTP_STATUS=$(echo $HTTP_RESPONSE | tr -d '\n' | sed -e 's/.*HTTPSTATUS://')

Yes, but: The D-Backs have still had some bright spots.

  • First baseman Christian Walker has already notched seven homers.
  • Before he went on the 15-day injured list with a right shoulder strain, starting pitcher Merrill Kelly had an impressive 2.19 ERA.
  • The D-Backs are batting .249 as a team, ninth best in the majors, and despite their losing record they've scored 18 more runs than they've given up this year.
**Yes, but:** The D-Backs have still had some bright spots.
- First baseman Christian Walker has already notched seven homers.
- Before he [went on the 15-day injured list](https://www.espn.com/mlb/story/_/id/40011824/d-backs-place-merrill-kelly-15-day-injured-list-right-shoulder-strain) with a right shoulder strain, starting pitcher Merrill Kelly had an impressive 2.19 ERA.
- The D-Backs are batting .249 as a team, ninth best in the majors, and despite their losing record they've scored 18 more runs than they've given up this year.
**Zoom in:** Outfielder Corbin Carroll is [starting the season in a sophomore slump](https://www.si.com/fannation/mlb/fastball/history/arizona-diamondbacks-corbin-carroll-making-unfortunate-personal-history-in-slow-start-to-season) after dominating his way to last year's NL Rookie of the Year award.
- Carroll is batting .197 with one home run and five RBI, and is now batting near the bottom of the order.
- That's a far cry from the .285 average, 25 homers and 54 steals he had last year.
**Zoom in:** Outfielder Corbin Carroll is [starting the season in a sophomore slump](https://www.si.com/fannation/mlb/fastball/history/arizona-diamondbacks-corbin-carroll-making-unfortunate-personal-history-in-slow-start-to-season) after dominating his way to last year's NL Rookie of the Year award.
- Carroll is batting .197 with one home run and five RBI, and is now batting near the bottom of the order.
- That's a far cry from the .285 average, 25 homers and 54 steals he had last year.
**Zoom in:** Outfielder Corbin Carroll is [starting the season in a sophomore slump](https://www.si.com/fannation/mlb/fastball/history/arizona-diamondbacks-corbin-carroll-making-unfortunate-personal-history-in-slow-start-to-season) after dominating his way to last year's NL Rookie of the Year award.
- Carroll is batting .197 with one home run and five RBI, and is now batting near the bottom of the order.
- That's a far cry from the .285 average, 25 homers and 54 steals he had last year.
**Bee-tween the lines:** The biggest highlight of the season so far has been Matt Hilton, a bee specialist who [removed a swarm](https://www.azcentral.com/story/sports/mlb/diamondbacks/2024/05/01/arizona-diamondbacks-bees-chase-field-matt-hilton/73523295007/) that had formed on the backstop behind home plate at Chase Field, delaying the start of Tuesday's game against the Dodgers.
**Zoom in:** Outfielder Corbin Carroll is [starting the season in a sophomore slump](https://www.si.com/fannation/mlb/fastball/history/arizona-diamondbacks-corbin-carroll-making-unfortunate-personal-history-in-slow-start-to-season) after dominating his way to last year's NL Rookie of the Year award.
- Carroll is batting .197 with one home run and five RBI, and is now batting near the bottom of the order.
- That's a far cry from the .285 average, 25 homers and 54 steals he had last year.
**Zoom in:** Outfielder Corbin Carroll is [starting the season in a sophomore slump](https://www.si.com/fannation/mlb/fastball/history/arizona-diamondbacks-corbin-carroll-making-unfortunate-personal-history-in-slow-start-to-season) after dominating his way to last year's NL Rookie of the Year award.
- Carroll is batting .197 with one home run and five RBI, and is now batting near the bottom of the order.
- That's a far cry from the .285 average, 25 homers and 54 steals he had last year.
**Zoom in:** Outfielder Corbin Carroll is [starting the season in a sophomore slump](https://www.si.com/fannation/mlb/fastball/history/arizona-diamondbacks-corbin-carroll-making-unfortunate-personal-history-in-slow-start-to-season) after dominating his way to last year's NL Rookie of the Year award.
- Carroll is batting .197 with one home run and five RBI, and is now batting near the bottom of the order.
- That's a far cry from the .285 average, 25 homers and 54 steals he had last year.