[address] w !command
address
w
!
command
Write lines specified by address to command.
:1,10w name_list Copy first 10 lines to name_list :50w >> name_list Now append line 50