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: val Chapter 17
The SCCS Utility
Next: 17.5 Alphabetical Summary of SCCS Commands
 

what

what [

option

] 

files

Search files for the pattern @(#) and print the text that follows it. Actually, the pattern searched for is the value of %Z% , but the get command expands this keyword to @(#) . The main purpose of what is to print identification strings.

Option

-s

Quit after finding the first occurrence of a pattern.


Previous: Reference: val UNIX in a Nutshell: System V Edition Next: 17.5 Alphabetical Summary of SCCS Commands
Reference: val Book Index 17.5 Alphabetical Summary of SCCS Commands

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