I am working on windows machine and I use bash shell which comes with Git. But there are many utilities which are missing in this version of bash shell. How can I install more commands on this shell?
![windows - How to add more commands to Git Bash? - Super User](https://cdn-ak-scissors.b.st-hatena.com/image/square/1903ece89af850aed3e9777e774c51491b959a61/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Fsuperuser%2FImg%2Fapple-touch-icon%402.png%3Fv%3De869e4459439)
Cygwin 2.7位の awkからか、今まで DOSの CR/LF のコードでも正しく処理されていたものがされなくなった。 当方、いくつかの シェルスクリプト内で awk を使っているが、動きが変になったので調べてみたらこの原因だ 現象では、行が DOS形式、CR/LFでの改行コードになっている場合に、awk にて、1行切り出すまたは、最終フィールドを取り出すと、CR/LF (\r+\n) の LF(\r)はカットされるが CR(\r)は残ったままとなる。 $ c:/windows/system32/ipconfig | awk '{printf ("%s", $0);}' . . . : メディアは接続されていません817d1 今までは、すべての行が繋がって表示されたのに CR(\r)が残るので、最後の行しかでなくなった。 $ c:/windows/system32/ipconfig
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く