misc/156758: sed utility extrange behavior with s/../& /g command on a .hex file

Jason Hellenthal jhell at DataIX.net
Mon May 2 03:30:17 UTC 2011


The following reply was made to PR bin/156758; it has been noted by GNATS.

From: Jason Hellenthal <jhell at DataIX.net>
To: Federico <esepecesito at esepecesito.com.ar>
Cc: freebsd-gnats-submit at freebsd.org
Subject: Re: misc/156758: sed utility extrange behavior with s/../& /g
 command on a .hex file
Date: Sun, 1 May 2011 23:27:16 -0400

 Federico,
 
 sed -e 's/^://' -e 's/../& /' file |awk '{print ":"$0}'
 
 Will that work for you ?
 
 
 I am not entirely convinced this is a problem with sed(1)
 
 -- 
 
  Regards, (jhell)
  Jason Hellenthal
 


More information about the freebsd-bugs mailing list