-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expansion
のToDo
#42
Comments
wildcardの表示する順番どうしよう?
|
bashはどういう順番で表示するんですか? |
current directoryがこんな感じの時、 .
├── AA
│ └── aa
├── AB
│ └── ab
├── AC <- file
├── Makefile
├── a.out
├── expansioner_test.c
├── expansioner_wildcard_test.c
└── obj
├── assign_mem.o
├── ast.o
....
$ ls -l
total 256
drwxr-xr-x@ 3 kazuma staff 96 Oct 4 12:49 AA
drwxr-xr-x@ 3 kazuma staff 96 Oct 4 12:49 AB
-rw-r--r-- 1 kazuma staff 1 Oct 4 12:48 AC
-rw-r--r-- 1 kazuma staff 1372 Oct 4 11:20 Makefile
-rwxr-xr-x 1 kazuma staff 111440 Oct 4 12:22 a.out
-rw-r--r-- 1 kazuma staff 6542 Oct 4 12:11 expansioner_test.c
-rw-r--r-- 1 kazuma staff 0 Oct 4 12:49 expansioner_wildcard_test.c
drwxr-xr-x@ 26 kazuma staff 832 Oct 4 12:22 obj
$ echo *
AA AB AC Makefile a.out expansioner_test.c expansioner_wildcard_test.c obj |
|
Guacamoleの
|
なるほどです、あんまり理解できてないですけど、PR楽しみにしておきます!!笑 |
今試したら |
以下のように、ワイルドカードが複数マッチする場合 $ echo *.*
$ echo *a*file |
$ ls
... res* ...
$ echo *"*"
res* |
pre, mid, post の3段階に分けて実装できそう |
概要
&&
,||
などがある場合の展開の順番',"
の中はsplitしない', "
の中にいるかどうかの状態管理参考リンク(あれば)
以下のリンクからテンプレートを拝借
The text was updated successfully, but these errors were encountered: