Skip to content

Instantly share code, notes, and snippets.

@Johnnynator
Last active April 28, 2018 18:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Johnnynator/8fd1a2297c44a2c8f6b96a311c379220 to your computer and use it in GitHub Desktop.
Save Johnnynator/8fd1a2297c44a2c8f6b96a311c379220 to your computer and use it in GitHub Desktop.
for i in {1..43} ;do
echo -n "# "
grep "quest_CAMPAIGN_QUEST_${i}_name" string.txt | sed 's/[(")]//g' | cut -f2
echo -n "#* "
grep "quest_CAMPAIGN_QUEST_${i}_task\"" string.txt | sed 's/[(")]//g' | cut -f2
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment