<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>BigFatCat</author_name>
  <author_url>https://blog.hatena.ne.jp/BigFatCat/</author_url>
  <blog_title>BigFatCatのブログ</blog_title>
  <blog_url>https://bigfatcat.hateblo.jp/</blog_url>
  <categories>
    <anon>shellscript</anon>
    <anon>cygwin</anon>
  </categories>
  <description>シェルスクリプトを作って、実行しようとしたところ、なにやら良くわからないエラーが発生（&quot; : Command not found&quot;のようなエラー）。調べたところ、改行コードが問題だったらしい。改行コードをDosの「CR LF」からUnixの「LF」に変えたら正常に実行されるようになった。 Meadowで改行コードを変えるコマンド C-x RET f sjis-unix 毎回.shファイルを開くたびに設定するのはめんどくさいので、.shファイルはsjis-unixで開くように設定しておいた。.emacsに以下を追加すればOK。 (add-hook 'after-init-hook '(lambd…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbigfatcat.hateblo.jp%2Fentry%2F20070807%2F1186471030&quot; title=&quot; Cygwin上でのシェルスクリプトの改行コード - BigFatCatのブログ&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>2007-08-07 16:17:10</published>
  <title> Cygwin上でのシェルスクリプトの改行コード</title>
  <type>rich</type>
  <url>https://bigfatcat.hateblo.jp/entry/20070807/1186471030</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
