Find float in a text file
Posted
by Werner
on Stack Overflow
See other posts from Stack Overflow
or by Werner
Published on 2010-03-16T13:40:33Z
Indexed on
2010/03/16
13:46 UTC
Read the original article
Hit count: 152
bash
Hi,
I am trying to find some float number (like -1234.5678) in a huge text file using grep, so I thought about:
grep -n '-1234.5678'
but I get errors, do you know what is the right way using grep and why? there is anything easier?
Thanks
© Stack Overflow or respective owner