Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 May 2011 03:30:16 GMT
From:      Jason Hellenthal <jhell@DataIX.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/156758: sed utility extrange behavior with s/../& /g command on a .hex file
Message-ID:  <201105020330.p423UGif009217@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/156758; it has been noted by GNATS.

From: Jason Hellenthal <jhell@DataIX.net>
To: Federico <esepecesito@esepecesito.com.ar>
Cc: freebsd-gnats-submit@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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105020330.p423UGif009217>