Skip to content

Instantly share code, notes, and snippets.

@hexfusion
Created February 11, 2020 19:46
Show Gist options
  • Select an option

  • Save hexfusion/ab085ac0ff7bc60163efa464e580b2ca to your computer and use it in GitHub Desktop.

Select an option

Save hexfusion/ab085ac0ff7bc60163efa464e580b2ca to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
set -euxo pipefail
COUNT=30
while [ $COUNT -gt 0 ]; do
IS_MEMBER_PRESENT=$( echo "foo" | grep -o "bar")
echo "I made it"
let COUNT=$COUNT-1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment