What does this Bash script print?

from Pipes and redirection
GNU Bash 5.2.21 intermediate 4 min

What does this Bash script print?

Shell
emit() {
  printf '%s\n' 'result'
  printf '%s\n' 'warning' >&2
}
emit 2>&1 >/dev/null | sed 's/^/seen: /'
Open in playground
Report an error