windows 中 git-bash 中使用 find 的正则表达式选项
发布日期:2021-05-10 10:35:00 浏览次数:15 分类:精选文章

本文共 1543 字,大约阅读时间需要 5 分钟。

Git Bash ��� find ������������������������������

��� Git Bash ��������� find ������������������������������ -regex ���������������������������������������������������find ������ Emacs ������������������������������������������������������ -regextype ������������������������������������

������������������������������������������������

  • emacs������������������������ Emacs ���������������������������
  • posix-awk��������� Posix ������������������
  • posix-basic��������� Posix ������������������
  • posix-egrep��������� Posix ���������grep���������
  • posix-extended������������Posix ������������

������������������Git Bash ������ find ��������������������������������������������������������������������������������������������������������������������������������������� -name ������������������������������������������������������������������������������������������������������������������������������

���������������������

������������������������������������������������������������������Sed������������������������������������������������������������������

find -regex '.*\(data\)'

��������������������������� data ���������������������������

���������������������

���������������������������| ������������������������������������������������������������������������������������������������������������������

find -regex '.*\(data\|bin\)'

��������������������������� data ��� bin ������������������

������������������������������������������������������������������������������������������������������������ find ������������������������������������

上一篇:删除文件名含有特殊字符的文件
下一篇:c 语言结构体 padding 的问题

发表评论

最新留言

很好
[***.229.124.182]2025年04月25日 06时25分02秒