Re: Extending R.E. Syntax

2015-07-21 Thread Omer Zak
Unfortunately for you two (Amos and Shachar), Shlomi Fish beat you by showing where the ideas I proposed are already implemented. The goal of my talking before showing any code was accomplished - it was shown that my proposal is redundant, before I got to spend any time putting together an impleme

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

2015-07-21 Thread Amos Shapira
The sages of Linux has a saying "Talk is cheap, show me the code". https://en.wikiquote.org/wiki/Linus_Torvalds#2000-04 On 21 July 2015 at 15:22, Omer Zak wrote: > The ancient sages of Israel have a saying "סוף מעשה - במחשבה תחילה", > meaning that the end of a project is as planned in the begi

Re: Extending R.E. Syntax

2015-07-20 Thread Omer Zak
The ancient sages of Israel have a saying "סוף מעשה - במחשבה תחילה", meaning that the end of a project is as planned in the beginning. In our case it means some discussion and feedback about proposed features and their use cases, before one plunges into implementing them. On Tue, 2015-07-21 at 06

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

Re: Extending R.E. Syntax

2015-07-20 Thread Shachar Shemesh
On 20/07/15 21:46, Omer Zak wrote: > Instead of, it would have been better to Good job! Where can I download your patch? Shachar ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

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