>>59
/bin/sh ; zsh4.2.0 ; bash 3.00.16だと
$ cat ini |sed -e "/\[test2\|4\]/,/^$/d;"
[test1]
number = 8
hoge = "foo"

[test2]
rock = 89
scottie = "sharp"
again = 123

[test3]
number = 998
hoge = "thinking"


[test4]
ms = "end"

/bin/tcsh; /bin/cshだと
%cat ini |sed -e "/\[test2\|4\]/,/^$/d;"
変数名が不正です.

だめじゃん。