Hi,
I have the file /tmp/qqq that contains:
If I issue:
Code:
sed /[0-9]\{3\}/p /tmp/qqq
It prints all lines
I don't know why because if I run:
Code:
egrep [0-9]{3} /tmp/qqq
It outputs only:
I tried even with and without quoting or even with and with without "\" or even using "-r". OK in this little example I could use egrep but I am trying to do something more complex and sed would be useful if it worked as I (perhaps wrong) expected
Could you help me?