Ignore the "GNU" part of this comment. I meant the POSIX or BSD implementations of sed.