As a GNU sed extension, 0 address can be used in these cases:
0,/regexp/
(see Zero Address Regex Range).
r command, inserting a file before the first line
(see Adding a header to multiple files).
Note that these are the only places where the 0 address makes
sense; Commands which are given the 0 address in any
other way will give an error.