抓取日志的一个脚本

function getDecisionState(){
    cat $1 | grep -a ":drive_state_child:" | sed s/"<trace.*_child:"//g > state.txt
}
posted @ 2024-04-15 20:46  feipeng8848  阅读(5)  评论(0编辑  收藏  举报