シェルスクリプト
複数のコマンドや条件分岐やループ処理などを一連の処理として記述したスクリプト
外側を覆う硬いもの
貝殻、(カキの)殻、(カメ・エビ・カニなどの)甲羅、(カブトムシなどの)硬い外皮、(鳥の卵の)殻、(果実・種子などの)殻、(豆類の)さや、(建物・乗り物などの)骨組み、外郭、船体
UNIXは、カーネル、ライブラリ、シェルの三層構造をしており、このうち一番外側のユーザーインターフェースを担当する部分をシェルという

今学期の授業でシェルスクリプトを書いている

正直辛い
PythonでもJavaでも何でも良いのでマシな言語を使わせてくれ、、という気持ち
shdeno - << EOF
console.log("Hello,world");
EOF
何かシェルスクリプトが書けて嬉しいことはあるのだろうか

まあシェルでの作業でパイプとかが使えたら便利な事は有りそう..?
意外と仕事で使ってるけど、嫌がる人もいる印象

過去の資産がシェルスクリプトなのはザラにある
さっとコマンドを組み合わせるのには適しているが複雑なことをやろうとすると辛い
どのシェルのシェルスクリプトか気になる(sh、csh、ksh、bash、zsh…)

fishは、使ってないか授業だし


下の句はどうする?

Googleのシェルスクリプトスタイルガイド(bash)
ある程度まともなシェルスクリプトを書くにはこういうガイドがあった方が良い

本来パフォーマンス重視の設計じゃないのに、パフォーマンスを重視する人が多くて困る

もともとは数値計算するたびにexprコマンドを読み込んで実行してたから
よく使うファイルのメモリ内キャッシュとかはある