sorry... the issue is that the grep i posted returns a match of a couple of strings.. i'm looking to treturn 0/none.. % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 48454 100 48454 0 0 1861 0 0:00:26 0:00:26 --:--:-- 12177 100 38380 100 38380 0 0 97540 0 --:--:-- --:--:-- --:--:-- 97540 100 51062 100 51062 0 0 99k 0 --:--:-- --:--:-- --:--:-- 2624k 100 38380 100 38380 0 0 118k 0 --:--:-- --:--:-- --:--:-- 118k 100 48118 100 48118 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k grep -e ":-- 0" /cloud_nfs/kk1.dat 100 48454 100 48454 0 0 1861 0 0:00:26 0:00:26 --:--:-- 12177 100 51062 100 51062 0 0 99k 0 --:--:-- --:--:-- --:--:-- 2624k --almost as though the grep is interpreting the dash/hyphens as a part of a pattern. On Mon, Sep 24, 2018 at 1:56 PM, bruce <badouglas@xxxxxxxxx> wrote: > simple test file > cat gg.dat > % Total % Received % Xferd Average Speed Time Time Time Current > Dload Upload Total Spent Left Speed > 100 42437 100 42437 0 0 590 0 0:01:11 0:01:11 --:--:-- 8789 > 100 41664 100 41664 0 0 140k 0 --:--:-- --:--:-- --:--:-- 2034k > 100 34574 100 34574 0 0 133k 0 --:--:-- --:--:-- --:--:-- 133k > 100 42430 100 42430 0 0 179k 0 --:--:-- --:--:-- --:--:-- 179k > 100 42428 100 42428 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k > > I simply want to test/check for the actual string --->>>:--- 0<<< > > I've tested a number of different grep permutations.. missing something.. > > grep -i ":--- 0" gg.dat > doesn't work... > > I'm not looking to match regex but find the actual string. > > thoughts/comments > > thanks _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx