On Fri, 2018-02-02 at 11:04 -0500, R. G. Newbury wrote:
> # grep -h '[0-9]*s[0-9]*">' temp
> Returns the example line with the 's[0-9]">' highlighted.

In grep, * matches any number of instances, including 0. You want to
use + rather than * to guarantee at least one digit.

poc
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to