Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

what(1) [ultrix man page]

what(1) 						      General Commands Manual							   what(1)

Name
       what - display ID keywords from SCCS file

Syntax
       what [-s] files

Description
       The command searches the given files for all occurrences of the pattern that substitutes for %Z% (this is @(#) at this printing) and prints
       out what follows until the first ", >, new-line, , or null character.  For example, if the C program in file f.c contains

	    char ident[] = "@(#)identification information";

       and f.c is compiled to yield f.o and a.out, then the command

	    what f.c f.o a.out

       will print

	    f.c:
		    identification information

	    f.o:
		    identification information

	    a.out:
		    identification information

       Use in conjunction with the SCCS command which automatically inserts identifying information, but information can also  be  inserted  manu-
       ally.

Restrictions
       It is possible that an unintended occurrence of the pattern @(#) could be found.  This causes no harm in nearly all cases.

Diagnostics
       Use for explanations.

Options
       -s     Quit after finding the first occurrence of the pattern in the file.

See Also
       get(1), sccshelp(1), sccs(1)
       Guide to the Source Code Control System

																	   what(1)

Check Out this Related Man Page

what(1) 						      General Commands Manual							   what(1)

NAME
what - get SCCS identification information SYNOPSIS
file ... DESCRIPTION
The command searches the given files for all occurrences of the pattern that get(1) substitutes for (currently @(#) at this printing) and prints out what follows until the first ", new-line, or null character. For example, if the C program in file contains and is compiled to yield and the command prints identification information identification information identification information is intended to be used in conjunction with the SCCS command (see get(1)) which automatically inserts identifying information, but it can also be used where the information is inserted manually. Options recognizes the following option: Quit after finding the first occurrence of pattern in each file. EXTERNAL INFLUENCES
Environment Variables determines the interpretation of the pattern substituted for as single- and/or multi-byte characters. determines the language in which messages are displayed. If or is not specified in the environment or is set to the empty string, the value of is used as a default for each unspecified or empty variable. If is not specified or is set to the empty string, a default of "C" (see lang(5)) is used instead of If any internationalization variable contains an invalid setting, behaves as if all internationalization variables are set to "C". See environ(5). International Code Set Support Single-byte and multi-byte character code sets are supported. DIAGNOSTICS
Exit status is 0 if any matches are found, otherwise 1. Use for explanations (see sccshelp(1)). WARNINGS
The pattern @(#) may occasionally appear unintentionally in random files, but this causes no harm in nearly all cases. SEE ALSO
get(1), sccshelp(1). STANDARDS CONFORMANCE
what(1)
Man Page

9 More Discussions You Might Find Interesting

1. What is on Your Mind?

Whats Behind Your Name?

Looking at the member list, there are alot of interesting names, some unique, some bizarre, and some that are just plain. How did you come by your name? Why did you choose your label? Me? Well, I wish I could change mine. I chose Google because thats how I stumbled upon this site. I wasn't sure... (66 Replies)
Discussion started by: google
66 Replies

2. What is on Your Mind?

What's your drink?

Since Neo has a thread going on what everyone likes to eat, I thought I'd start one on what everyone likes to drink on an evening out. Post details for your choice if you can. I go for beer - Beck's if I can get it. Foster's back in India. If I am breaking any rules, please delete the... (65 Replies)
Discussion started by: blowtorch
65 Replies

3. Web Development

What is Your Favorite Web Browser?

OK, please vote on your favorite web browser and comment why! Only currently supported browers please! Thanks. PS: I am a big FireFox fan. FireFox add-ons rock! (61 Replies)
Discussion started by: Neo
61 Replies

4. What is on Your Mind?

What do you do for a living?

(107 Replies)
Discussion started by: ilikecows
107 Replies

5. Linux

What is your favorite Linux distro?

(173 Replies)
Discussion started by: milhan
173 Replies

6. Shell Programming and Scripting

What is your favorite Linux distro?

(173 Replies)
Discussion started by: milhan
173 Replies

7. Open Source

What is your favorite Linux distro?

What is your favorite Linux distro? and possibly why? Personally, I have Fedora 3 on my computer. I have used Ubuntu and Slackware, too. But I think I liked Ubuntu more, maybe because of its speed and easy installation of packages. (192 Replies)
Discussion started by: milhan
192 Replies

8. Open Source

What editor does everyone use?

I was looking through the topics and I wasn't sure if this was the best place to post this question: I was wondering, out of curiosity, which software everyone was using to code their scripts in. I do mostly sh/ksh and my favorite has always been EditPlus because it is small, fast, yet powerful.... (409 Replies)
Discussion started by: yongho
409 Replies

9. UNIX for Advanced & Expert Users

What's your most useful shell?

What's your most useful shell? /bin/sh /bin/csh /bin/ksh /bin/tcsh /bin/bash (249 Replies)
Discussion started by: zylwyz
249 Replies