【shell】判断文件中是否存在字符串

message="failed"spa if cat console.log | grep "$message">/dev/nullconsole thengrep return 1co elsereturn return 0message fi
相关文章
相关标签/搜索