-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/08/2012 07:48 PM, lynn wrote:
Hi grep [7a] somefile finds all lines containing an a or a 7. Quoting: "[7a]" gives the same. a's and 7's.
I want to find [7a]
Thanks, L x Yes, [] specifies classes of symbols. Use \[ and \]
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJP+cvaAAoJEKWTiqSclQac17gH/Rthg3ueU3Nbdb32l0xbwCWH lqnJg3cuUfk7+9fYEap6rEgjQRlVMj6nJlDlwfsWlOMR2PRGx2inDrWJ0cBgm/8t HAHTCstcLE0Jyxkl1ip1ICkdMEQd56OlYu24s91Zi7pSTVlhK7Ht7u5xil/e7iNc WWw98RI4RCGOm2anCspuAQnWkzpb9oHwH2ZQPEFHfUAwjKsYuierfmyCCcWoU1mz gL5P6yxOugeeJH6shuGmIWXmX3pzZB7L+oz2VfZkZRrpNHtwLqX4hsNnJbXLzBvJ fblO9nnyWrQSJf+bdPvCIf4w+Ynnd8F4ZszrPo4ybfR9bfZPXnLYEnEQdsk3f5U= =d5zG -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org