From 93850a56b2257ca5d0b2bbea82348622d83011b8 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 18 May 2005 06:34:37 +0000 Subject: Patch from Colin Watson (mangled slightly by Rob Landley): This patch implements the 'T' command in sed. This is a GNU extension, but one of the udev hotplug scripts uses it, so I need it in busybox anyway. Includes a test; 'svn add testsuite/sed/sed-branch-conditional-inverted' after applying. --- testsuite/sed/sed-branch-conditional-inverted | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 testsuite/sed/sed-branch-conditional-inverted (limited to 'testsuite/sed') diff --git a/testsuite/sed/sed-branch-conditional-inverted b/testsuite/sed/sed-branch-conditional-inverted new file mode 100755 index 000000000..f4df84b3e --- /dev/null +++ b/testsuite/sed/sed-branch-conditional-inverted @@ -0,0 +1,14 @@ +busybox sed 's/a/1/;T notone;p;: notone;p'>output <