/usr/bin/noroots is in noweb 2.11b-9.
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 | #!/bin/sh
#
# Copyright 1991 by Norman Ramsey. All rights reserved.
# See file COPYRIGHT for more information.
# set -x
LIB=/usr/lib/noweb
$LIB/markup $* | awk '
/^@quote$/,/^@endquote$/ { next }
/^@defn / { chunk=substr($0,7) ; defined[chunk]=1 }
/^@use / { chunk=substr($0,6) ; used[chunk]=1 }
END {
for (chunk in defined) {
if (defined[chunk]==1 && used[chunk]==0) printf "<<%s>>\n", chunk
}
}'
|