3 058b0118 2005-01-03 devnull src \- find source code for executable
4 058b0118 2005-01-03 devnull .SH SYNOPSIS
11 058b0118 2005-01-03 devnull .I symbol
15 058b0118 2005-01-03 devnull .SH DESCRIPTION
17 058b0118 2005-01-03 devnull examines the named
19 058b0118 2005-01-03 devnull to find the corresponding source code, which is then sent to the editor using
22 058b0118 2005-01-03 devnull .IR sam (1)).
26 058b0118 2005-01-03 devnull .IR rc (1)
27 058b0118 2005-01-03 devnull script, the source is the file itself.
30 058b0118 2005-01-03 devnull is an executable, the source is defined to be the single file containing the
31 058b0118 2005-01-03 devnull definition of
35 058b0118 2005-01-03 devnull will point the editor at the line that begins the definition.
38 058b0118 2005-01-03 devnull .IR db (1)
39 058b0118 2005-01-03 devnull to extract the symbol table information that identifies the source.
42 058b0118 2005-01-03 devnull looks for each
44 058b0118 2005-01-03 devnull in the current directory, in
45 058b0118 2005-01-03 devnull .BR /bin ,
46 058b0118 2005-01-03 devnull and in the subdirectories of
47 058b0118 2005-01-03 devnull .BR /bin ,
48 058b0118 2005-01-03 devnull in that order.
52 058b0118 2005-01-03 devnull flag causes
54 058b0118 2005-01-03 devnull to print the file name but not send it to the editor.
57 058b0118 2005-01-03 devnull flag identifies a
58 058b0118 2005-01-03 devnull .I symbol
59 058b0118 2005-01-03 devnull other than
61 058b0118 2005-01-03 devnull to locate.
62 058b0118 2005-01-03 devnull .SH EXAMPLES
63 058b0118 2005-01-03 devnull Find the source to the
65 058b0118 2005-01-03 devnull routine in
66 058b0118 2005-01-03 devnull .BR /bin/ed :
72 058b0118 2005-01-03 devnull Find the source for
73 058b0118 2005-01-03 devnull .BR strcmp :
76 058b0118 2005-01-03 devnull src -s strcmp rc
78 058b0118 2005-01-03 devnull .SH SOURCE
79 c3674de4 2005-01-11 devnull .B \*9/bin/src
80 058b0118 2005-01-03 devnull .SH "SEE ALSO"
81 058b0118 2005-01-03 devnull .IR db (1),
82 058b0118 2005-01-03 devnull .IR plumb (1),
83 058b0118 2005-01-03 devnull .IR sam (1).