<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Ansatz_gbf</author_name>
  <author_url>https://blog.hatena.ne.jp/Ansatz_gbf/</author_url>
  <blog_title>Ansatzの備忘録</blog_title>
  <blog_url>https://ansatz.hatenablog.com/</blog_url>
  <categories>
    <anon>シェル芸</anon>
    <anon>プログラミング</anon>
    <anon>勉強</anon>
  </categories>
  <description>練習2.1.e クォートと変数 ''でクォートされた文字列に Bash は一切手を加えないため、シングルクォートには {print 1+1} のような空白入りの引数を一つにまとめて引き渡したり、$1 などの AWK の変数がシェルの変数として解釈されるのを阻止したりする役割がある。ダブルクォートで囲えば Bash で解釈される。 問題に関しては、小問4だけわからなかった。 grep &quot;$re&quot; /etc/passwd においてダブルクォートの有無で挙動が変わるという話だった。ダブルクォートがあると grep が受け取る検索文字列が空文字になるが、なかった場合 grep /etc/passwd …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fansatz.hatenablog.com%2Fentry%2F2022%2F01%2F25%2F200000&quot; title=&quot;シェルワンライナー160本ノック第二章練習問題その3 - Ansatzの備忘録&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>2022-01-25 20:00:00</published>
  <title>シェルワンライナー160本ノック第二章練習問題その3</title>
  <type>rich</type>
  <url>https://ansatz.hatenablog.com/entry/2022/01/25/200000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
