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

From: Yuri Pankov <[email protected]>
To: Federico <[email protected]>
Cc: [email protected]
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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to