Skip to content

Instantly share code, notes, and snippets.

@opera443399
Last active July 22, 2016 03:58
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 opera443399/e5dcfa5e572f4602351ba8c49f3863bf to your computer and use it in GitHub Desktop.
Save opera443399/e5dcfa5e572f4602351ba8c49f3863bf to your computer and use it in GitHub Desktop.
# grep -o 'UCanUup' UCloud.txt |wc -l
728
# python -c "import re
> c=0
> with open('UCloud.txt') as f:
> for line in f: c += len(re.findall(r'''\bUCanUup\b''', line))
> print c"
728
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment