bash(tcsh)だと、ループ処理時に別プロセスで処理するので同じ変数名であってもループ内ではローカル扱いになっちゃうんだよね。zshはどんな仕組みかしらないけどその問題を回避している。

k_igrsk_igrs のブックマーク 2019/06/04 20:10

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

Use zsh as the default shell on your Mac - Apple Support (CA)

    Use zsh as the default shell on your Mac Starting with macOS Catalina, your Mac uses zsh as the default login shell and interactive shell. You can make zsh the default in earlier versions of macOS ...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう