0
如果我從cmd.exe的運行:FINDSTR結腸困惑?
findstr "\"A\" : \"B\"" c:\temp\sample.json
echo %errorlevel%
與sample.json的內容是
{
"Abad" : "B"
}
錯誤級別示出爲0。
如果我替換 ':' 與」。 ',我再次得到0.但是,如果我使用兩個'。':
findstr "\"A\" ..\"B\"" c:\temp\sample.json
findstr正確ret請求錯誤級別爲1.什麼是findstr試圖執行的操作?