UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: writeChapter 9
The ex Editor
Next: Reference: wq
 

write

[address] w !command

Write lines specified by address to command.

Example

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


Previous: Reference: writeUNIX in a Nutshell: System V EditionNext: Reference: wq
Reference: writeBook IndexReference: wq

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System