linux – 为什么glob lstat匹配条目?

linux – 为什么glob lstat匹配条目?

在 this question中查看行为时,我惊讶地看到perl lstat()s每个路径都匹配一个glob模式: $mkdir dir$touch dir/{foo,bar,baz}.txt $strace -e trace=lstat perl -E say $^V; dir/b* v5.10.1lstat(dir/baz.txt, {st_mode=S_IFREG|06

联系我们

联系我们

0577-28828765

在线咨询: QQ交谈

邮箱: xwei067@foxmail.com

工作时间:周一至周五,9:00-17:30,节假日休息

返回顶部