link
google検索編
自分はこう検索した
「stackoverflow double asterisk directory」でgoogle検索
検索結果
検索結果の1つ
https://stackoverflow.com/questions/28176590/what-do-double-asterisk-wildcards-mean/28199882
answered Jan 28 '15 at 18:24
Keith Thompson
It's probably using a special feature of some shells that lets
**
do a recursive match, as opposed to a single*
, which matches only in the current directory.
備考
- 検索できない文字は英単語に置き換える (例: ** -> double asterisk)
- 回答が多そうなコミュニテイをキーワードに入れる (例: stackoverflow)
- 思いついたキーワードを足す (例: ディレクトリ関係なので -> directory)
bash man編
動作環境
GeForce GTX 1070 (8GB)
ASRock Z170M Pro4S [Intel Z170chipset]
Ubuntu 16.04.4 LTS desktop amd64
TensorFlow v1.7.0
cuDNN v5.1 for Linux
CUDA v8.0
Python 3.5.2
IPython 6.0.0 -- An enhanced Interactive Python.
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)
scipy v0.19.1
geopandas v0.3.0
MATLAB R2017b (Home Edition)
ADDA v.1.3b6
gnustep-gui-runtime v0.24.0-3.1
man bash
-
/\*\*
-
**
の検索の意味
-
-
n
- 次の検索候補の意味
-
k
- 一行上に移動
以下が見つかる。
globstar
If set, the pattern ** used in a pathname expansion context will match
all files and zero or more directories and subdirectories. If the pat‐
tern is followed by a /, only directories and subdirectories match.
globstarという用語らしい。
man bashはq
で終了する。
globstarで検索すると関連記事が見つかる。名前は大切。
Python > **辞書
Qiitaでdouble ateriskで検索すると下記の記事が見つかる。
(**
では見つからない)