Hi Rob,

While testing thru busybox sed tests, it failed at this test case.

# first three lines are deleted; 4th line is matched and printed by "2,3"
and by "4" ranges
testing "sed with N skipping lines past ranges on next cmds" \
  "sed -n '1{N;N;d};1p;2,3p;3p;4p'" \


  "4\n4\n" "" "1\n2\n3\n4\n"

My observation is with single N, this is working fine, but with multiple N
it doesn't give the same results.

Is the toybox behavior right or busybox/GNU's?

Thanks,
Ashwini
_______________________________________________
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to