This file is indexed.

/usr/bin/mp2png is in bsdowl 2.2.2-1.

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

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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#!/bin/sh

### mp2png.sh -- Convert METAPOST output to PNG

# Author: Michael Grünewald
# Date: Sat 10 Dec 2005 09:58:48 GMT


# Global Variables:

AUTHOR="Michael Grünewald <michipili@gmail.com>"
COPYRIGHT="©2005–2014"
PROGNAME=`basename "$0"`

# resolution [1200]
#  Resolution of PostScript rendering.

resolution=1200


# Ancillary functions

prerr()
{
    echo "$@" 1>&2
}

HELP()
{
    iconv -f utf-8 <<EOF
Usage: $PROGNAME [-h] [-r resolution] [file1 [file2 [...]]]
 Convert from METAPOST output to PNG
Options:
 -r RESOLUTION [$resolution]
    Indicate a resolution, in dot per inches. See Notes below.
 -h Display a cheerful help message to you.
Notes:
 The conversion is done thanks to GraphicsMagick.
 The program will not work if you use the prologue facility (if you
 do not know about it, this is probably ok).
 Typical resolution for screen viewing ranges from 72 to 100, for
 deskjet printers from 300 to 400, and for laserjet or other high
 quality device, from 600 to above.
Author: Michael Grünewald
Copyright: ${COPYRIGHT}
EOF
}

INVALIDOPT() {
    prerr "${PROGNAME}: unknown option: $1"
}

mp2png_process()
{
    gm convert -density "$resolution" "$1" "${1%.mps}.png"
}


# Process Arguments

while getopts "hr:" OPTION; do
    case $OPTION in
	r) resolution=${OPTARG};;
	h) HELP; exit 0;;
	?) INVALIDOPT $OPTION; HELP; exit 1;;
    esac
done

shift $(expr $OPTIND - 1)


# Let's roll

for a in "$@"; do mp2png_process "$a"; done

### End of file `mp2png.sh'