On Mon, Dec 21, 2009 at 08:37:06PM -0500, Hugo Villeneuve wrote: > OpenBSD's sed technicaly supports command concatation with ";" on > the command line but it breaks "branch" without label. Which correctly
Read the caveat at the end of the sed man page: "The use of semicolons to separate multiple commands is not permitted for the following commands: a, b, c, i, r, t, w, :, and #." Either use newlines instead of semicolons, or give each line of the script separately with the -e option. For example, instead of sed 's/a/b/ ; t ; s/c/d/' use sed -e 's/a/b/' -e 't' -e 's/c/d/'

