]> git.saurik.com Git - apple/file_cmds.git/blob - file/magdir/sccs
file_cmds-60.tar.gz
[apple/file_cmds.git] / file / magdir / sccs
1
2 #------------------------------------------------------------------------------
3 # sccs: file(1) magic for SCCS archives
4 #
5 # SCCS archive structure:
6 # \001h01207
7 # \001s 00276/00000/00000
8 # \001d D 1.1 87/09/23 08:09:20 ian 1 0
9 # \001c date and time created 87/09/23 08:09:20 by ian
10 # \001e
11 # \001u
12 # \001U
13 # ... etc.
14 # Now '\001h' happens to be the same as the 3B20's a.out magic number (0550).
15 # *Sigh*. And these both came from various parts of the USG.
16 # Maybe we should just switch everybody from SCCS to RCS!
17 # Further, you can't just say '\001h0', because the five-digit number
18 # is a checksum that could (presumably) have any leading digit,
19 # and we don't have regular expression matching yet.
20 # Hence the following official kludge:
21 8 string \001s\ SCCS archive data