This file is indexed.

/usr/include/tclutil/ShellCommand.h is in skycat 3.1.2+starlink1~b+dfsg-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// -*-c++-*-
#ifndef _ShellCommand_h_
#define _ShellCommand_h_
/*
 * E.S.O. - VLT project / ESO Archive
 *
 * "@(#) $Id: ShellCommand.h,v 1.1.1.1 2009/03/31 14:11:52 cguirao Exp $" 
 *
 * ShellCommand.h - class to exec a shell command and save the status,
 *                  stdout and stderr
 * 
 * who             when      what
 * --------------  ---------  ----------------------------------------
 * Allan Brighton  12 Jun 96  Created
 */


class ShellCommand {
private:
    int status_;		// command exit status
    char* stdOut_;		// command output
    char* stdErr_;		// error output

public:
    // constructor: runs the command and saves the results.
    ShellCommand(const char* cmd);
    
    // destructor
    ~ShellCommand();

    int status() {return status_;}

    // return ptr to the stdout or stderr of the command
    // Note: these will be deleted automatically with this object
    const char* stdOut() {return stdOut_;}
    const char* stdErr() {return stdErr_;}
};

#endif /* _ShellCommand_h_ */