<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tomcky</author_name>
  <author_url>https://blog.hatena.ne.jp/tomcky/</author_url>
  <blog_title>Tomcky's blog</blog_title>
  <blog_url>https://tomcky.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Rust</anon>
  </categories>
  <description>catと言っても簡易的なもので、与えられた引数のファイルの中身を表示するだけで、オプションとかそんなものはありません。 Rustの勉強用に書いてみました。 というわけで早速コード。 use std::env; use std::fs::File; use std::io::{BufReader, BufRead}; fn main() { // コマンドライン引数の取得 let f_name = env::args().nth(1).unwrap(); // 引数のファイル名を受け取りファイルを開く let f = File::open(f_name).unwrap(); // バッファリング…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftomcky.hatenadiary.jp%2Fentry%2F20181006%2F1538832958&quot; title=&quot;Rustでcatコマンドを書く - Tomcky&amp;#39;s blog&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>2018-10-06 22:35:58</published>
  <title>Rustでcatコマンドを書く</title>
  <type>rich</type>
  <url>https://tomcky.hatenadiary.jp/entry/20181006/1538832958</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
