19b50d902SRodney W. Grimes.\" Copyright (c) 1980, 1991, 1993 29b50d902SRodney W. Grimes.\" The Regents of the University of California. All rights reserved. 39b50d902SRodney W. Grimes.\" 49b50d902SRodney W. Grimes.\" Redistribution and use in source and binary forms, with or without 59b50d902SRodney W. Grimes.\" modification, are permitted provided that the following conditions 69b50d902SRodney W. Grimes.\" are met: 79b50d902SRodney W. Grimes.\" 1. Redistributions of source code must retain the above copyright 89b50d902SRodney W. Grimes.\" notice, this list of conditions and the following disclaimer. 99b50d902SRodney W. Grimes.\" 2. Redistributions in binary form must reproduce the above copyright 109b50d902SRodney W. Grimes.\" notice, this list of conditions and the following disclaimer in the 119b50d902SRodney W. Grimes.\" documentation and/or other materials provided with the distribution. 12*fbbd9655SWarner Losh.\" 3. Neither the name of the University nor the names of its contributors 139b50d902SRodney W. Grimes.\" may be used to endorse or promote products derived from this software 149b50d902SRodney W. Grimes.\" without specific prior written permission. 159b50d902SRodney W. Grimes.\" 169b50d902SRodney W. Grimes.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 179b50d902SRodney W. Grimes.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 189b50d902SRodney W. Grimes.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 199b50d902SRodney W. Grimes.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 209b50d902SRodney W. Grimes.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 219b50d902SRodney W. Grimes.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 229b50d902SRodney W. Grimes.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 239b50d902SRodney W. Grimes.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 249b50d902SRodney W. Grimes.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 259b50d902SRodney W. Grimes.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 269b50d902SRodney W. Grimes.\" SUCH DAMAGE. 279b50d902SRodney W. Grimes.\" 2811180a85SRuslan Ermilov.Dd December 14, 2006 299b50d902SRodney W. Grimes.Dt WHAT 1 3062500372SRuslan Ermilov.Os 319b50d902SRodney W. Grimes.Sh NAME 329b50d902SRodney W. Grimes.Nm what 33a3bfefd3SPhilippe Charnier.Nd "show what versions of object modules were used to construct a file" 349b50d902SRodney W. Grimes.Sh SYNOPSIS 351879eba7SRobert Nordier.Nm 3636f45138SJuli Mallett.Op Fl qs 3706e482e6SRuslan Ermilov.Op Ar 389b50d902SRodney W. Grimes.Sh DESCRIPTION 391879eba7SRobert NordierThe 401879eba7SRobert Nordier.Nm 411879eba7SRobert Nordierutility searches each specified 421879eba7SRobert Nordier.Ar file 431879eba7SRobert Nordierfor sequences of the form 4411180a85SRuslan Ermilov.Dq Li @(#) 4511180a85SRuslan Ermilovas inserted by the 4611180a85SRuslan Ermilov.Tn SCCS 4711180a85SRuslan Ermilovsource code control system. 486a3e8b0aSRuslan ErmilovIt prints the remainder 491879eba7SRobert Nordierof the string following this marker, up to a NUL character, newline, double 501879eba7SRobert Nordierquote, 5111180a85SRuslan Ermilov.Ql \&> 521879eba7SRobert Nordiercharacter, or backslash. 531879eba7SRobert Nordier.Pp 5411180a85SRuslan ErmilovThe following options are available: 5511180a85SRuslan Ermilov.Bl -tag -width indent 5636f45138SJuli Mallett.It Fl q 5736f45138SJuli MallettOnly output the match text, rather than formatting it. 581879eba7SRobert Nordier.It Fl s 591879eba7SRobert NordierStop searching each file after the first match. 601879eba7SRobert Nordier.El 61a866e170SRuslan Ermilov.Sh EXIT STATUS 621879eba7SRobert NordierExit status is 0 if any matches were found, otherwise 1. 6355fe5cf3SWolfram Schneider.Sh SEE ALSO 64651cabf8SPoul-Henning Kamp.Xr ident 1 , 65651cabf8SPoul-Henning Kamp.Xr strings 1 6623ff0f83STim J. Robbins.Sh STANDARDS 6723ff0f83STim J. RobbinsThe 6823ff0f83STim J. Robbins.Nm 6923ff0f83STim J. Robbinsutility conforms to 7023ff0f83STim J. Robbins.St -p1003.1-2001 . 7136f45138SJuli MallettThe 7236f45138SJuli Mallett.Fl q 7336f45138SJuli Mallettoption is a non-standard 7436f45138SJuli Mallett.Fx 7536f45138SJuli Mallettextension which may not be available on other operating systems. 769b50d902SRodney W. Grimes.Sh HISTORY 779b50d902SRodney W. GrimesThe 789b50d902SRodney W. Grimes.Nm 799b50d902SRodney W. Grimescommand appeared in 809b50d902SRodney W. Grimes.Bx 4.0 . 81aa679189STim J. Robbins.Sh BUGS 82aa679189STim J. RobbinsThis is a rewrite of the 83aa679189STim J. Robbins.Tn SCCS 84aa679189STim J. Robbinscommand of the same name, 85aa679189STim J. Robbinsand behavior may not be identical. 86