]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man7/suffixes.7
f9ba98f3fc05ba03d5f5e1d3819abc1700598d66
[thirdparty/man-pages.git] / man7 / suffixes.7
1 '\" t
2 .\" (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de)
3 .\"
4 .\" Permission is granted to make and distribute verbatim copies of this
5 .\" manual provided the copyright notice and this permission notice are
6 .\" preserved on all copies.
7 .\"
8 .\" Permission is granted to copy and distribute modified versions of this
9 .\" manual under the conditions for verbatim copying, provided that the
10 .\" entire resulting derived work is distributed under the terms of a
11 .\" permission notice identical to this one.
12 .\"
13 .\" Since the Linux kernel and libraries are constantly changing, this
14 .\" manual page may be incorrect or out-of-date. The author(s) assume no
15 .\" responsibility for errors or omissions, or for damages resulting from
16 .\" the use of the information contained herein. The author(s) may not
17 .\" have taken the same level of care in the production of this manual,
18 .\" which is licensed free of charge, as they might when working
19 .\" professionally.
20 .\"
21 .\" Formatted or processed versions of this manual, if unaccompanied by
22 .\" the source, must acknowledge the copyright and authors of this work.
23 .\" License.
24 .\" Modified Sat Jul 24 17:35:15 1993 by Rik Faith <faith@cs.unc.edu>
25 .\" Modified Sun Feb 19 22:02:32 1995 by Rik Faith <faith@cs.unc.edu>
26 .\" Modified Tue Oct 22 23:28:12 1996 by Eric S. Raymond <esr@thyrsus.com>
27 .\" Modified Sun Jan 26 21:56:56 1997 by Ralph Schleicher
28 .\" <rs@purple.UL.BaWue.DE>
29 .\" Modified Mon Jun 16 20:24:58 1997 by Nicolás Lichtmaier <nick@debian.org>
30 .\" Modified Sun Oct 18 22:11:28 1998 by Joseph S. Myers <jsm28@cam.ac.uk>
31 .\" Modified Mon Nov 16 17:24:47 1998 by Andries Brouwer <aeb@cwi.nl>
32 .\" Modified Thu Nov 16 23:28:25 2000 by David A. Wheeler
33 .\" <dwheeler@dwheeler.com>
34 .\"
35 .\" FIXME, mtk, May 2007: rendering this page yields the error:
36 .\" grotty:suffixes.7:1725: character above first line discarded
37 .\"
38 .TH SUFFIXES 7 2000-11-16 "Linux" "Linux Programmer's Manual"
39 .SH NAME
40 suffixes \- list of file suffixes
41 .SH DESCRIPTION
42 It is customary to indicate the contents of a file with the file suffix,
43 which consists of a period, followed by one or more letters.
44 Many standard utilities, such as compilers, use this to recognize the type of
45 file they are dealing with.
46 The
47 .BR make (1)
48 utility is driven by rules based on file suffix.
49 .PP
50 Following is a list of suffixes which are likely to be found on a
51 Linux system.
52 .PP
53 .TS
54 l | l
55 _ | _
56 lI | l .
57 Suffix File type
58 ,v files for RCS (Revision Control System)
59 - backup file
60 .C C++ source code, equivalent to \fI.cc\fP
61 .F Fortran source with \fBcpp\fP(1) directives
62 or file compressed using freeze
63 .S assembler source with \fBcpp\fP(1) directives
64 .Y file compressed using yabba
65 .Z file compressed using \fBcompress\fP(1)
66 .[0-9]+gf TeX generic font files
67 .[0-9]+pk TeX packed font files
68 .[1-9] manual page for the corresponding section
69 .[1-9][a-z] manual page for section plus subsection
70 .a static object code library
71 .ad X application default resource file
72 .ada Ada source (may be body, spec, or combination)
73 .adb Ada body source
74 .ads Ada spec source
75 .afm PostScript font metrics
76 .al Perl autoload file
77 .am \fBautomake\fP(1) input file
78 .arc \fBarc\fP(1) archive
79 .arj \fBarj\fP(1) archive
80 .asc PGP ASCII-armored data
81 .asm (GNU) assembler source file
82 .au Audio sound file
83 .aux LaTeX auxiliary file
84 .avi (msvideo) movie
85 .awk AWK language program
86 .b LILO boot loader image
87 .bak backup file
88 .bash \fBbash\fP(1) shell script
89 .bb basic block list data produced by
90 gcc \-ftest\-coverage
91 .bbg basic block graph data produced by
92 gcc \-ftest\-coverage
93 .bbl BibTeX output
94 .bdf X font file
95 .bib TeX bibliographic database, BibTeX input
96 .bm bitmap source
97 .bmp bitmap
98 .bz2 file compressed using \fBbzip2\fP(1)
99 .c C source
100 .cat message catalog files
101 .cc C++ source
102 .cf configuration file
103 .cfg configuration file
104 .cgi WWW content generating script or program
105 .cls LaTeX Class definition
106 .class Java compiled byte-code
107 .conf configuration file
108 .config configuration file
109 .cpp equivalent to \fI.cc\fR
110 .csh \fBcsh\fP(1) shell script
111 .cxx equivalent to \fI.cc\fR
112 .dat data file
113 .deb Debian software package
114 .def Modula-2 source for definition modules
115 .def other definition files
116 .desc initial part of mail message unpacked with
117 \fBmunpack\fP(1)
118 .diff file differences (\fBdiff\fP(1) command output)
119 .dir dbm data base directory file
120 .doc documentation file
121 .dsc Debian Source Control (source package)
122 .dtx LaTeX package source file
123 .dvi TeX's device independent output
124 .el Emacs-Lisp source
125 .elc compiled Emacs-Lisp source
126 .eps encapsulated PostScript
127 .exp Expect source code
128 .f Fortran source
129 .f77 Fortran 77 source
130 .f90 Fortran 90 source
131 .fas pre-compiled Common-Lisp
132 .fi Fortran include files
133 .fig FIG image file (used by \fBxfig\fP(1))
134 .fmt TeX format file
135 .gif Compuserve Graphics Image File format
136 .gmo GNU format message catalog
137 .gsf Ghostscript fonts
138 .gz file compressed using \fBgzip\fP(1)
139 .h C or C++ header files
140 .help help file
141 .hf equivalent to \fI.help\fP
142 .hlp equivalent to \fI.help\fP
143 .htm poor man's \fI.html\fP
144 .html HTML document used with the World Wide Web
145 .hqx 7-bit encoded Macintosh file
146 .i C source after preprocessing
147 .icon bitmap source
148 .idx reference or datum-index file for hypertext
149 or database system
150 .image bitmap source
151 .in configuration template, especially for GNU Autoconf
152 .info files for the Emacs info browser
153 .info-[0-9]+ split info files
154 .ins LaTeX package install file for docstrip
155 .itcl itcl source code;
156 itcl ([incr Tcl]) is an OO extension of tcl
157 .java a Java source file
158 .jpeg Joint Photographic Experts Group format
159 .jpg poor man's \fI.jpeg\fP
160 .kmap \fBlyx\fP(1) keymap
161 .l equivalent to \fI.lex\fP or \fI.lisp\fP
162 .lex \fBlex\fP(1) or \fBflex\fP(1) files
163 .lha lharc archive
164 .lib Common-Lisp library
165 .lisp Lisp source
166 .ln files for use with \fBlint\fP(1)
167 .log log file, in particular produced by TeX
168 .lsm Linux Software Map entry
169 .lsp Common-Lisp source
170 .lzh lharc archive
171 .m Objective-C source code
172 .m4 \fBm4\fP(1) source
173 .mac macro files for various programs
174 .man manual page (usually source rather than formatted)
175 .map map files for various programs
176 .me Nroff source using the me macro package
177 .mf Metafont (font generator for TeX) source
178 .mgp MagicPoint file
179 .mm sources for \fBgroff\fP(1) in mm - format
180 .mo Message catalog binary file
181 .mod Modula-2 source for implementation modules
182 .mov (quicktime) movie
183 .mp Metapost source
184 .mp2 MPEG Layer 2 (audio) file
185 .mp3 MPEG Layer 3 (audio) file
186 .mpeg movie file
187 .o object file
188 .old old or backup file
189 .orig backup (original) version of a file, from \fBpatch\fP(1)
190 .out output file, often executable program (a.out)
191 .p Pascal source
192 .pag dbm data base data file
193 .patch file differences for \fBpatch\fP(1)
194 .pbm portable bitmap format
195 .pcf X11 font files
196 .pdf Adobe Portable Data Format
197 (use Acrobat/\fBacroread\fP or \fBxpdf\fP)
198 .perl Perl source (see .ph, .pl and .pm)
199 .pfa PostScript font definition files, ASCII format
200 .pfb PostScript font definition files, binary format
201 .pgm portable greymap format
202 .pgp PGP binary data
203 .ph Perl header file
204 .php PHP program file
205 .php3 PHP3 program file
206 .pid File to store daemon PID (e.g., crond.pid)
207 .pl TeX property list file or Perl library file
208 .pm Perl module
209 .png Portable Network Graphics file
210 .po Message catalog source
211 .pod \fBperldoc\fP(1) file
212 .ppm portable pixmap format
213 .pr bitmap source
214 .ps PostScript file
215 .py Python source
216 .pyc compiled python
217 .qt quicktime movie
218 .r RATFOR source (obsolete)
219 .rej patches that \fBpatch\fP(1) couldn't apply
220 .rpm RedHat software package
221 .rtf Rich Text Format file
222 .rules rules for something
223 .s assembler source
224 .sa stub libraries for a.out shared libraries
225 .sc \fBsc\fP(1) spreadsheet commands
226 .scm Scheme source code
227 .sed sed source file
228 .sgml SGML source file
229 .sh \fBsh\fP(1) scripts
230 .shar archive created by the \fBshar\fP(1) utility
231 .so Shared library or dynamically loadable object
232 .sql SQL source
233 .sqml SQML schema or query program
234 .sty LaTeX style files
235 .sym Modula-2 compiled definition modules
236 .tar archive created by the \fBtar\fP(1) utility
237 .tar.Z tar(1) archive compressed with \fBcompress\fP(1)
238 .tar.bz2 tar(1) archive compressed with \fBbzip2\fP(1)
239 .tar.gz tar(1) archive compressed with \fBgzip\fP(1)
240 .taz tar(1) archive compressed with \fBcompress\fP(1)
241 .tcl tcl source code
242 .tex TeX or LaTeX source
243 .texi equivalent to \fI.texinfo\fP
244 .texinfo Texinfo documentation source
245 .text text file
246 .tfm TeX font metric file
247 .tgz tar archive compressed with \fBgzip\fP(1)
248 .tif poor man's \fI.tiff\fP
249 .tiff Tagged Image File Format
250 .tk tcl/tk script
251 .tmp temporary file
252 .tmpl template files
253 .txt equivalent to \fI.text\fP
254 .uu equivalent to \fI.uue\fP
255 .uue binary file encoded with \fBuuencode\fP(1)
256 .vf TeX virtual font file
257 .vpl TeX virtual property list file
258 .w Silvio Levi's CWEB
259 .wav wave sound file
260 .web Donald Knuth's WEB
261 .wml Source file for Web Meta Language
262 .xbm X11 bitmap source
263 .xcf GIMP graphic
264 .xml eXtended Markup Language file
265 .xsl XSL stylesheet
266 .xpm X11 pixmap source
267 .xs Perl xsub file produced by h2xs
268 .y \fByacc\fP(1) or \fBbison\fP(1) (parser generator) files
269 .z File compressed using \fBpack\fP(1) (or an old \fBgzip\fP(1))
270 .zip \fBzip\fP(1) archive
271 .zoo \fBzoo\fP(1) archive
272 ~ Emacs or \fBpatch\fP(1) backup file
273 rc startup (`run control') file, e.g., \fI.newsrc\fP
274 .TE
275 .SH "CONFORMING TO"
276 General UNIX conventions.
277 .SH BUGS
278 This list is not exhaustive.
279 .SH "SEE ALSO"
280 .BR file (1),
281 .BR make (1)