Name

write

Synopsis

[address] w !command

Write lines specified by address to command.

Example

:1,66w !pr -h myfile | lp        Print first page of file

Get Unix in a Nutshell, 4th 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.