Skip to content

Conversation

tsukiongithub
Copy link

instead of using sed to parse the output of nordvpn status, i pull the entire line containing the status with grep "Status:\s.*" and then check if that line contains the respective substring, by wrapping the substring with *. ie. *"Connected"*.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant