← Back to context

Comment by sjs382

10 months ago

You can count your own with this snippet. Just replace my username with your own. My count before this comment was 46.

  curl -s "https://hn.algolia.com/api/v1/search?tags=comment,author_sjs382&hitsPerPage=10000" \
    | jq -r '.hits[].comment_text' \
    | grep -o "—" \
    | wc -l

This script is awesome. I checked for "—" (em), "–" (en), and "--", along with other random strings.