• + 0 comments

    i want a csript to find the string from one file and on the basis of that string want to fetch full logs from another file. i used the below script but it dosen't give me proper result. pattern="sessionId_12june.txt"

    file="deliversm-req_12.txt" grep -E -f "file"

    please help me with proper script