Need to grep for null Characters in an acsii file.
I have a file with null characters before a bit of text im am greping for.. It is not showing up in my results.
the Null characters are hiding whats in front of them.. How can I grep for them.
Line with Null characters ============================
0000000 D S A 0 0 0 9 2 6 L 7 8 0 2 3 1
0000020 6 2 N N N N
0000040 N N L N N N N N N N 0
0000060 0 0 0 1 6 0 0 1 6 0 0 1 6 0 0 0
0000100 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0000120 0 0 0 0 0 0 0 0 \0 \0 \0 \0 \0 \0 \0
0000140 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
0000160 \0 \0 \0 D U P M E R I C A E U
0000200 R O P E A N S U C T N F U
0000220 N D D R A S S A ( A U T
0000240 O ) ( X F X X H O X X )
0000260
*
0000340 N Y
0000360
*
0000760 X \n
0000765
======================================================
Given two equally predictive theories, choose the simpler.
I have a file with null characters before a bit of text im am greping for.. It is not showing up in my results.
the Null characters are hiding whats in front of them.. How can I grep for them.
Line with Null characters ============================
0000000 D S A 0 0 0 9 2 6 L 7 8 0 2 3 1
0000020 6 2 N N N N
0000040 N N L N N N N N N N 0
0000060 0 0 0 1 6 0 0 1 6 0 0 1 6 0 0 0
0000100 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0000120 0 0 0 0 0 0 0 0 \0 \0 \0 \0 \0 \0 \0
0000140 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
0000160 \0 \0 \0 D U P M E R I C A E U
0000200 R O P E A N S U C T N F U
0000220 N D D R A S S A ( A U T
0000240 O ) ( X F X X H O X X )
0000260
*
0000340 N Y
0000360
*
0000760 X \n
0000765
======================================================
Given two equally predictive theories, choose the simpler.