<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Rocco</author_name>
  <author_url>https://blog.hatena.ne.jp/Rocco/</author_url>
  <blog_title>日本 GNU AWK ユーザー会 0.2</blog_title>
  <blog_url>https://rocco.hatenadiary.org/</blog_url>
  <categories>
    <anon>Netnews</anon>
  </categories>
  <description>Refer to field headings? awk に csv のフィールドの位置ではなく、ヘッダーで一致させることができるかというものです。 awk '( $4 ~ /ASPAC/) {do something;}' &lt; input_file ではなく awk '( region_name ~ /ASPAC/) {do something;}' &lt; input_file のようなものです。 回答は以下のようなもんが上がっていますが、csv という部分が最後以外欠落してないかい? awk 'NR==1 {for (i=1;i&lt;=NF;i++) f[$i]=i; next} $f[&quot;reg…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frocco.hatenadiary.org%2Fentry%2F20071130%2Fp8&quot; title=&quot;csv のヘッダーをどう扱うか - 日本 GNU AWK ユーザー会 0.2&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/R/Rocco/20071005/20071005231714.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-11-30 00:00:07</published>
  <title>csv のヘッダーをどう扱うか</title>
  <type>rich</type>
  <url>https://rocco.hatenadiary.org/entry/20071130/p8</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
