2020-05-12から1日間の記事一覧
新規構築したサーバでnginxをビルドしようとしたら下記メッセージが。 ./configure: error: the HTTP rewrite module requires the PCRE library. You can either disable the module by using --without-http_rewrite_module option, or install the PCRE l…
算術演算子を使ったスクリプトで変数を複数値変更したい場合にはカンマ演算子が使える $ cat test.sh : $((a=1,b=3)) $ echo $a $b 1 3 都度都度算術演算子を書く必要が無くて便利 もちろん複合代入演算子との併用も可能 : $((a+=10, b+=20)) ループ処理でイ…