home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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: write UNIX in a Nutshell: System V Edition Next: Reference: wq
Reference: write Book Index Reference: 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