Полезная информация

UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: valChapter 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: valUNIX in a Nutshell: System V EditionNext: 17.5 Alphabetical Summary of SCCS Commands
Reference: valBook Index17.5 Alphabetical Summary of SCCS Commands

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