I wish that the following worked, but it doesn't:
nottheoilrig@debian:~/busybox-1.24.2$ echo s/foo/bar/ | ./busybox sed -f -
sed: can't open '-': No such file or directory
1 nottheoilrig@debian:~/busybox-1.24.2$
Is this by design? Would you welcome a patch to make it work?
I sometimes use "echo -e '... \n ...' | sed -f - -i filename" in e.g.
Debian preseed files or Makefiles, because the sed a, i and c commands
are particular about newline characters.
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox