[Bug 8791] New: sed : in substitution string \1 to \9 or & don't behave as per GNU & POSIX specification

bugzilla at busybox.net bugzilla at busybox.net
Sat Mar 12 22:55:52 UTC 2016


https://bugs.busybox.net/show_bug.cgi?id=8791

            Bug ID: 8791
           Summary: sed : in substitution string \1 to \9 or & don't
                    behave as per GNU & POSIX specification
           Product: Busybox
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Standard Compliance
          Assignee: unassigned at busybox.net
          Reporter: clu at free.fr
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

correct me or redirect me if i'm wrong :
tested with BusyBox 1.24.1 under linux from http://tinycorelinux.net and
BusyBox v1.25.0-FRP-311-g23db916 on windows from https://frippery.org/busybox
Example with :
  $cat myfile
  a
  b
  c
  $sed "s/\(.*\)/\1\1/" myfile
  a
  b
  c
it should be :
  $sed "s/\(.*\)/\1\1/" myfile
  aa
  bb
  cc
used once \1 worked as expected but when repeated it does not.

thanks for your attention
clu
20160312

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list