Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 May 2011 19:10:11 GMT
From:      Yuri Pankov <yuri.pankov@gmail.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/156758: sed utility extrange behavior with s/../& /g command on a .hex file
Message-ID:  <201105011910.p41JABM3056378@freefall.freebsd.org>

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

From: Yuri Pankov <yuri.pankov@gmail.com>
To: Federico <esepecesito@esepecesito.com.ar>
Cc: bug-followup@freebsd.org
Subject: Re: misc/156758: sed utility extrange behavior with s/../& /g
 command on a .hex file
Date: Sun, 1 May 2011 22:41:25 +0400

 Can't reproduce it on 8.2 with either sed or gsed:
 
 $ /usr/bin/sed -e 's/../& /g' test
 :1 00 00 00 01 8F 09 FE 51 8F 09 FE 51 8F 09 FE 51 8F 09 FE 5C 0
 :1 00 01 00 01 8F 09 FE 50 00 0A 0E 1F 0F F1 FE 51 4F 09 FE 55 8
 $ /usr/local/bin/gsed -e 's/../& /g' test
 :1 00 00 00 01 8F 09 FE 51 8F 09 FE 51 8F 09 FE 51 8F 09 FE 5C 0
 :1 00 01 00 01 8F 09 FE 50 00 0A 0E 1F 0F F1 FE 51 4F 09 FE 55 8
 
 Probably something is stripping : at the start of the line in your
 environment?
 
 
 Yuri



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