Skip to main content
Slight rephrasing of the question to make it more clear
Link

How to obtain grepdoes one extract a command's exit status into a variable?

Tweeted twitter.com/StackUnix/status/751054568671350785
bash is not central to the question
Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 266
Updated title to reflect text in the question.
Link
Kusalananda
  • 356.1k
  • 42
  • 737
  • 1.1k
Loading
formatting
Source Link
Anthony Geoghegan
  • 13.6k
  • 7
  • 62
  • 66
Loading
deleted 44 characters in body
Source Link
Rui F Ribeiro
  • 58k
  • 28
  • 156
  • 239
Loading
Source Link
omri gilhar
  • 343
  • 1
  • 2
  • 5
Loading