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 w...@zak.co.il 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 of an hex string.

 This would come instead of making it very cumbersome to specify strings
 longer than one character (\xnn or \u or equivalent - see also:
 http://www.regular-expressions.info/unicode.html).

 And if we are at it, it would have been nice to add to all R.E. engines
 hooks to allow private extensions of R.E. syntax, in order to allow
 people to concisely express special parsing requirements.

 --- Omer


 On Mon, 2015-07-20 at 21:24 +0300, Shachar Shemesh wrote:
  On 20/07/15 11:56, Orna Agmon Ben-Yehuda wrote:
 
   Hello everyone,
  
  
   I often have damaged text files (due to a lovely storage system).
   The files are of different formats, although I can usually assume
   they contain spaces. The files are structured as lines.
  
  
   Every once in a while, the lovely destruction (ahmstorage)
   system inserts binary garbage to the file. I wish to fix the files
   by removing the cancer without leaving any leftovers. That is, I
   want to lose partial lines.
  
  
   I tried using grep with all sorts of keys, but it did not do the
   trick.
   strings catches too little - it leaves partial lines.
   Is there an elegant  way to  do the trick line-wise?
  
  
   Thanks
   Orna
  
  http://debugmo.de/2009/04/bgrep-a-binary-grep/
 --
 What happens if one mixes together evolution with time travel to the
 past?  See: http://www.zak.co.il/a/stuff/opinions/eng/evol_tm.html
 My own blog is at http://www.zak.co.il/tddpirate/

 My opinions, as expressed in this E-mail message, are mine alone.
 They do not represent the official policy of any organization with which
 I may be affiliated in any way.
 WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html


 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: I need help with my Android phone, connecting to my wireless router

2012-03-15 Thread Alexander Sukholitko
Hi,
I suggest you to sign in androidforum.com, choose you phone and ask you
question. I think that you find there answer immediately.
Good luck.
Alex

On Thu, Mar 15, 2012 at 3:05 PM, Meir Michanie me...@riunx.com wrote:

 Dear list members,
 Please restrain your email to this mailing list to Linux related
 issues (in a previous email I explained that only if you are hacking
 the android kernel, then the post is fine).
 There is even another list for newbies.
 If you are not sure if your post is revelant to the list:
 please first search the miling list archive to see if the topic has
 been banned already.
 If you still think that you are ready to post a no Linux related
 message, prepend the subject line with OT (out of topic)

 Thanks,
 Meir

 On Thu, Mar 15, 2012 at 9:26 AM, Alan Yaniger a...@tkos.co.il wrote:
  Dear list-members,
 
  May I request that the Linux-IL list members take a bold step and leave
 all
  sarcasm at the door before entering? Generally, the sarcastic message
 can be
  conveyed in a businesslike manner, without having to resort to pejorative
  comments. Before sending the message, keep in mind that it's unpleasant
 to
  be the butt of such comments – and it might come back to you. What goes
  around comes around.
 
  Thanks,
  Alan
 
 
  On 03/15/2012 08:45 AM, Stan Goodman wrote:
 
  On Thursday, March 15, 2012 01:17:54 Meir Michanie wrote:
 
Hi Stan,
 
My AEG oven clock is out of sync and connecting your HTC Aria to a
 
wireless router request for support would be better answered at
 
http://lmgtfy.com/ Let me google that for you
 
  --
  Alan Yaniger
  Tk Open Systems
  0546-841-481
 
 
  ___
  Linux-il mailing list
  Linux-il@cs.huji.ac.il
  http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il