Name

write

Synopsis

[address] w !
                     command
                  

Write lines specified by address to command.

Examples

:1,10w name_list      
                     Copy first 10 lines to name_list
:50w >> name_list     
                     Now append line 50

Get Mac OS X Panther in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.