This topic created in 4755 days ago, the information mentioned may be changed or developed.
function fcontent() {
grep -nHR --color=auto '$@' .
} #查找所有文件内容
这是我的函数,当我像这样调用 fcontent explain ,$@ 没有替换。
2 replies 1970-01-01 08:00:00 +08:00  | | 1 arbeitandy Apr 23, 2013 用引
#!/bin/bash function fcontent() { grep -nHR --color=auto "$@" . } |