![](https://code-404.net/wp-content/themes/cocoon-master/images/no-image-320.png)
bash-scripting
![](https://code-404.net/wp-content/themes/cocoon-master/images/no-image-320.png)
Bash スクリプトの <
![](https://code-404.net/wp-content/themes/cocoon-master/images/no-image-320.png)
bash – echo コマンドの実行トレースを抑制するか?
私はJenkinsからシェルスクリプトを実行していますが、シェルスクリプトはshebangオプション#!/bin/sh -exでキックオフします Bash Shebang for dummies? によると、-x, "シェルに実行トレースを...
![](https://code-404.net/wp-content/themes/cocoon-master/images/no-image-320.png)
bash – if/else 文で変数を整数ではなくテキスト文字列と比較するには?
シェルスクリプトを書く過程で、以下のif/else文がスクリプトの途中にあるという問題に遭遇しました if then read - "add or update: " $comm git commit -m "$comm $file" e...
![](https://code-404.net/wp-content/themes/cocoon-master/images/no-image-320.png)
ZSH: “read:1: -p: no coprocess” という bash 関数内で読み込みコマンドが失敗しました
Edit: bashの中では動作するようです。問題は zsh に関連しているようです。この問題を投稿する良いサイトがあれば教えてください 私は一連のディレクトリを作成するシンプルなスクリプトを書いています。その前にユーザーに確認をしてもら...
![](https://code-404.net/wp-content/themes/cocoon-master/images/no-image-320.png)
bashシェルでリテラルタブ文字を入力するには?
例えば、タブの区切り文字を指定するために-tオプションでソートユーティリティを使いたかったのですが sort -t "\t" doesn't work. 77 Mark 2011-11-28 ベストアンサー 二重引用符は使わない...