{
  "id": 17342762,
  "title": "AWK Count Occurrences: Lines, Words, Characters & Values",
  "url": "https://urgent.news/2026/10/31/awk-count-occurrences-lines-words-characters-values",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-31T05:19:30.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/devtalk94/awk-count-occurrences-lines-words-characters-values-4j1i"
  },
  "original_language": "en",
  "account": null,
  "summary": "The article explains how to use AWK to count occurrences in different ways, including lines, total occurrences, per-value occurrences, and distinct values. It provides sample input and exact output for each method, including sample files and corresponding AWK commands. AWK is shown to be a powerful tool for counting based on conditions, field positions, case sensitivity, and more.",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}