[BusyBox] bug#1170: sed bounds not attaching to the right atom
Lynn Winebarger
lynn at freespeech.org
Sat May 19 14:00:03 UTC 2001
Package: busybox
Version: 0.51
sed '/^\(\/\([A-Za-z0-9]\+\)\)\{2\}/p
d'
seems to attach to either of the atoms preceding it. For example
/h/h => /h/h
/he => /he
/h =>
If I put in a $ at the end of the pattern, the first 2 don't match
either.
GNU sed works as expected on these (i.e. extracts paths with 2 or more
components from the input stream).
Both busybox and GNU sed were linked with glibc.
Lynn
More information about the busybox
mailing list