grep query time range

grep 'usercode' xxx.log | grep '[0-9]' | wc -l Query the number of usercodes in the range 0-9 in the log

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326778523&siteId=291194637