<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a4dosanddos</author_name>
  <author_url>https://blog.hatena.ne.jp/a4dosanddos/</author_url>
  <blog_title>プログラム日記</blog_title>
  <blog_url>https://a4dosanddos.hatenablog.com/</blog_url>
  <categories>
    <anon>bash</anon>
  </categories>
  <description>Java のコードで &quot;aaa.bbb.ccc&quot; ( ソフトウェアのプロパティ名みたいです ) みたいにハードコードされている箇所を private static な定数に変更してくださいという依頼がありました。ひとつひとつ手でやるのは面倒ですし、修正ミスしてしまう恐れもあるので、シェルスクリプトを書いてみました。 #!/bin/sh while read line; do echo $line | tr '[a-z]' '[A-Z]' | tr '.' '_' done &lt; $1 変数名の命名規則は aa.bbb.ccc -&gt; AAA_BBB_CCC、変換したい文字列についてはファイルに一行…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa4dosanddos.hatenablog.com%2Fentry%2F2016%2F04%2F22%2F000151&quot; title=&quot;&amp;quot;小文字を大文字に&amp;quot;、&amp;quot;ある文字を別の文字に&amp;quot; 変更するシェルスクリプト - プログラム日記&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>2016-04-22 00:01:51</published>
  <title>&quot;小文字を大文字に&quot;、&quot;ある文字を別の文字に&quot; 変更するシェルスクリプト</title>
  <type>rich</type>
  <url>https://a4dosanddos.hatenablog.com/entry/2016/04/22/000151</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
