[Toybox] pathological case in sed s///g

enh enh at google.com
Thu May 2 19:46:58 PDT 2019


i've known about this for a couple of days and haven't had time to
look at it properly yet, so i should mention it here...

if you have a file with a 1MiB line of 'x'es and you sed 's/x/y/g',
BSD or GNU sed finishes immediately, but toybox takes forever.



More information about the Toybox mailing list