Skip to content

Instantly share code, notes, and snippets.

@puffrfish
Created May 3, 2015 12:47
Show Gist options
  • Save puffrfish/721b9b830d7c5a555bd8 to your computer and use it in GitHub Desktop.
Save puffrfish/721b9b830d7c5a555bd8 to your computer and use it in GitHub Desktop.
[ likes =
#!/bin/bash
bird="finch"
result="honk"
if [ ${bird} = "duck" ]; then
result="quack";
elif [ ${bird} = "goose" ]; then
result="honk";
fi
echo "$bird says $result"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment