Search Results

Search: Posts Made By: jcdole
19,760
Posted By jcdole
Exactly. And that do the job Thank you for...
Exactly.
And that do the job
Thank you for helping.

THis thread is closed.
19,760
Posted By jcdole
grep with "[" and "]" and "dot" within the search string
Hello.
Following recommendations for one of my threads, this is working perfectly :

#!/bin/bash
CNT=$( grep -c -e "some text 1" -e "some text 2" -e "some text 3" "/tmp/log_file.txt" ) ...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 03:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy