Re: Extending R.E. Syntax (was: Re: Eliminating binary from a text file)

2015-07-21 Thread Shlomi Fish
Hi Omer, On Mon, Jul 20, 2015 at 9:46 PM, Omer Zak wrote: > Instead of creating a separate bgrep, it would have been better to be > able to extend the syntax of regular expressions (in egrep, Perl and > other platforms) to allow specification of binary strings having > arbitrary length by means

Re: Extending R.E. Syntax (was: Re: Eliminating binary from a text file)

2015-07-20 Thread Alexander Sukholitko
Hi, Possibly using "strings file_name >new_file_name" command could resolve this problem. Thank you. Alex On Mon, Jul 20, 2015 at 9:46 PM, Omer Zak wrote: > Instead of creating a separate bgrep, it would have been better to be > able to extend the syntax of regular expressions (in egrep, Perl an

Extending R.E. Syntax (was: Re: Eliminating binary from a text file)

2015-07-20 Thread Omer Zak
Instead of creating a separate bgrep, it would have been better to be able to extend the syntax of regular expressions (in egrep, Perl and other platforms) to allow specification of binary strings having arbitrary length by means of an hex string. This would come instead of making it very cumberso