{
  "id": "43b9e99f8fc5",
  "url": "https://github.com/learnbyexample/Command-line-text-processing/blob/master/gnu_awk.md",
  "title": "Command-line-text-processing/gnu_awk.md at master · learnbyexample",
  "note": "I recently had to go through a hundred or so markdown files with [YAML](http://yaml.org) front matter for [Jekyll](https://jekyllrb.com) and modify the [front matter](https://jekyllrb.com/docs/frontmatter/) with data from the filename. I did 3 or 4 by hand and realized how much that was going to be terrible. Then I wrote a for loop in a bash script with awk and sed and I was done in a couple minutes. This writeup of awk is very nice and the examples are rich. I'd recommend reading the similar one for [sed](https://github.com/learnbyexample/Command-line-text-processing/blob/master/gnu_sed.md)",
  "voice": "jamie",
  "saved": "2017-10-26T12:03:42Z",
  "host": "github.com",
  "kind": "repository",
  "tags": [],
  "record": "https://links.thingelstad.xyz/links/43b9e99f8fc5/",
  "markdown": "https://links.thingelstad.xyz/links/43b9e99f8fc5.md",
  "issues": [
    {
      "number": 25,
      "slug": "weekly-thing-for-october-28-2017",
      "title": "Weekly Thing for October 28, 2017",
      "date": "2017-10-28T12:00:00Z",
      "section": "Links 📌",
      "position": 12,
      "url": "https://weekly.thingelstad.com/archive/25/",
      "page": "https://links.thingelstad.xyz/issues/25/"
    }
  ],
  "connections": {
    "same_host": {
      "count": 250,
      "page": "https://links.thingelstad.xyz/hosts/github.com/",
      "nearest": [
        {
          "id": "ee9dd6fef0ad",
          "title": "PyGraphistry is library to extract, transform, and visually explore big graphs",
          "url": "https://github.com/graphistry/pygraphistry",
          "record": "https://links.thingelstad.xyz/links/ee9dd6fef0ad/"
        },
        {
          "id": "6a4ca70aaaa1",
          "title": "profiling: An interactive continuous Python profiler.",
          "url": "https://github.com/what-studio/profiling",
          "record": "https://links.thingelstad.xyz/links/6a4ca70aaaa1/"
        },
        {
          "id": "5d27d55ea6cb",
          "title": "GitHub - Introducing Team discussions",
          "url": "https://github.com/blog/2471-introducing-team-discussions",
          "record": "https://links.thingelstad.xyz/links/5d27d55ea6cb/"
        },
        {
          "id": "4f7f7c370d7b",
          "title": "gtop: System monitoring dashboard for terminal",
          "url": "https://github.com/aksakalli/gtop",
          "record": "https://links.thingelstad.xyz/links/4f7f7c370d7b/"
        },
        {
          "id": "534d1b6dd59d",
          "title": "pingfs: Stores your data in ICMP ping packets",
          "url": "https://github.com/yarrick/pingfs",
          "record": "https://links.thingelstad.xyz/links/534d1b6dd59d/"
        }
      ]
    },
    "same_week": {
      "count": 21,
      "nearest": [
        {
          "id": "877ab1189c6a",
          "title": "Reaching people on the internet - The Oatmeal",
          "url": "http://theoatmeal.com/comics/reaching_people",
          "record": "https://links.thingelstad.xyz/links/877ab1189c6a/"
        },
        {
          "id": "33e3563d45a5",
          "title": "Dramatiq: simple task processing",
          "url": "https://dramatiq.io/",
          "record": "https://links.thingelstad.xyz/links/33e3563d45a5/"
        },
        {
          "id": "eb827a97c4e0",
          "title": "wallabag: a self hostable application for saving web pages",
          "url": "https://wallabag.org/en",
          "record": "https://links.thingelstad.xyz/links/eb827a97c4e0/"
        },
        {
          "id": "e931c77c39c3",
          "title": "Move fast, break nothing - The Download",
          "url": "https://blog.eero.com/how-eero-protects-you-from-krack/?mc_cid=6486ef5cf0&mc_eid=dca51b7a30",
          "record": "https://links.thingelstad.xyz/links/e931c77c39c3/"
        },
        {
          "id": "12feac6bed10",
          "title": "Page.REST - An HTTP API to extract OpenGraph, oEmbed or any other content from any public web page as JSON.",
          "url": "https://page.rest/",
          "record": "https://links.thingelstad.xyz/links/12feac6bed10/"
        }
      ]
    },
    "mentions": [],
    "mentioned_by": [],
    "saved_twice": []
  },
  "elsewhere": {
    "wayback": "https://web.archive.org/web/*/https://github.com/learnbyexample/Command-line-text-processing/blob/master/gnu_awk.md"
  }
}
