(zsh) sed パラメータで **/*(D.) はどういう意味ですか?

(zsh) sed パラメータで **/*(D.) はどういう意味ですか?

ファイルから文字列を検索して置き換える方法で提供されたこのコマンドを見ました。この回答:

sed -i -- 's/foo/bar/g' **/*(D.)

パターンはどういう*/*(D)意味ですか?名前が何であるかよく分からないのでグーグルができませんね。この部分はsedパラメータの一部ですか、それとzshの一部ですか?ありがとうございます!

ベストアンサー1

一般名はグローバル予選zsh以下のリストがあるのでファイル名の生成文書セクション。

Patterns used for filename generation may end in a list of qualifiers
enclosed in parentheses. The qualifiers specify which filenames that 
otherwise match the given pattern will be inserted in the argument list.

特に:

.

    plain files

そして

D

    sets the GLOB_DOTS option for the current pattern 

おすすめ記事