published: python3 hashtag-check.py caption.txt run: python3 hashtag-check.py caption.txt hashtags: 7 (unique, ignoring capitals: 6) list: #pasta #dinner #Pasta #quick_meals #15min #onepan #easyrecipe Instagram (Help Center: up to 5 tags on a post): OVER by 2 YouTube (Help: more than 60 hashtags are all ignored): ok, 53 left TikTok (page read names no number): no limit to check LinkedIn (hashtag help page not readable that day): no limit to check exit=0 published: python3 hashtag-check.py caption.txt run: python3 hashtag-check.py edge-crlf-hindi.txt edge: Windows line breaks, Hindi tags (combining marks), repeated tag in two capitalisations hashtags: 5 (unique, ignoring capitals: 4) list: #भारत #भाई #नमस्ते #Pasta #pasta Instagram (Help Center: up to 5 tags on a post): ok, 0 left YouTube (Help: more than 60 hashtags are all ignored): ok, 55 left TikTok (page read names no number): no limit to check LinkedIn (hashtag help page not readable that day): no limit to check exit=0 published: python3 hashtag-check.py caption.txt run: python3 hashtag-check.py edge-empty.txt edge: empty file the file is empty: edge-empty.txt exit=1 published: python3 hashtag-check.py caption.txt run: python3 hashtag-check.py no-such-file.txt edge: file that does not exist file not found: no-such-file.txt exit=1 published: python3 hashtag-check.py caption.txt run: python3 hashtag-check.py edge-six.txt edge: a caption of exactly 6 tags (one over Instagram's 5) hashtags: 6 (unique, ignoring capitals: 6) list: #a #b #c #d #e #f Instagram (Help Center: up to 5 tags on a post): OVER by 1 YouTube (Help: more than 60 hashtags are all ignored): ok, 54 left TikTok (page read names no number): no limit to check LinkedIn (hashtag help page not readable that day): no limit to check exit=0 published: python3 hashtag-check.py caption.txt run: python3 hashtag-check.py edge-utf16.txt edge: file saved as UTF-16, not UTF-8 the file is not UTF-8 text: edge-utf16.txt exit=1 published: python3 hashtag-check.py caption.txt run: python3 hashtag-check.py . edge: a directory instead of a file cannot read: . exit=1