Re: regex help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Joseph L. Casale wrote:
>>/dev.*5$
>
> Thanks, I don't know what I was thinking. Been looking at this script
> too long and I wanna go home:) I got it anyway with grep '^/dev.*1$'

Wouldn't that match something like /dev/sda11 ? I tried a few
variations though didn't figure out the exact syntax(so used to
perl regex) to match exactly 1 number at the end of the line.

nate


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux