So, I have a file that contains a line like:
foo.bar.bletch.one.two
where the dots represent null (\0) characters.
I want to be able to grep this line, using this command:
grep foo.bar.bletch.one.two file
Kenny McCormack <gazelle@shell.xmission.com> wrote:
So, I have a file that contains a line like:
foo.bar.bletch.one.two
where the dots represent null (\0) characters.
I want to be able to grep this line, using this command:
grep foo.bar.bletch.one.two file
Did you try using argument '--binary-files=' ?
Detail in the GNU grep man page :)
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 59 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 24:08:45 |
| Calls: | 810 |
| Calls today: | 1 |
| Files: | 1,287 |
| D/L today: |
12 files (21,036K bytes) |
| Messages: | 195,978 |