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


UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: .sv Chapter 12
Nroff and Troff
Next: Reference: .ta
 

.sy

.sy 

command

 [

args

]

Execute UNIX command with optional arguments (ditroff only).

Example

Search for the first argument; accumulate in a temp file:

.sy sed -n 's///$1/Note: /1/p' list >> /tmp/notesfile


Previous: Reference: .sv UNIX in a Nutshell: System V Edition Next: Reference: .ta
Reference: .sv Book Index Reference: .ta

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