<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>goodbyegangster</author_name>
  <author_url>https://blog.hatena.ne.jp/goodbyegangster/</author_url>
  <blog_title>goodbyegangsterのブログ</blog_title>
  <blog_url>https://goodbyegangster.hatenablog.com/</blog_url>
  <categories>
    <anon>shell</anon>
  </categories>
  <description>取込ファイル側の不正レコードを効率よく調査したい。 bash バージョン $ bash --version GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu) ファイル内各レコードのフィールド数を集計 行ごとのフィールド数を数えて、その値ごとに件数を集計する。 (echo &quot;count fields&quot;; \ awk -F'\t' '{print NF}' file.tsv | sort | uniq -c | awk '{print $1, $2}' ) \ | column -t 指定フィールド数のレコード行を表示 フィールド数…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgoodbyegangster.hatenablog.com%2Fentry%2F2025%2F09%2F04%2F221930&quot; title=&quot;CSV ファイルをデータベースへ登録時のトラブルシューティング - goodbyegangsterのブログ&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-09-04 22:19:30</published>
  <title>CSV ファイルをデータベースへ登録時のトラブルシューティング</title>
  <type>rich</type>
  <url>https://goodbyegangster.hatenablog.com/entry/2025/09/04/221930</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
