以上例子的目的在于,正则表达式只能用grep -n 命令中才有作用。在ls中,他的意义是不同的,例如*符号。
shell 的正则表达式
原文:https://www.cnblogs.com/Lonelychampion/p/11175099.html