Absorption and amplification of dark solitons.