| Server IP : 118.27.122.248 / Your IP : 216.73.217.142 Web Server : Apache System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64 User : c9415830 ( 11735) PHP Version : 8.4.17 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /usr/bin/ |
Upload File : |
#!/bin/sh -efu
#
# Copyright (c) 2007 Alexey Tourbin, ALT Linux Team.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This is /usr/lib/rpm/find-provides filter. It reads << file -NF$'\t' >>
# output and decides which files should be processed with perl.prov.
#
while IFS=$'\t' read -r f t; do
case "$f" in
*/auto/share/dist/*) continue ;;
*/auto/share/module/*) continue ;;
esac
case "$f" in
*.pm | *.pl | *.ph ) ;;
*) continue ;;
esac
case "$t" in
*" text"*)
echo "$f" ;;
# file(1) check for text files is not quite reliable
# I use perl for '-T $f' heuristic check (see perlfunc for details)
*)
if perl -e '$f=shift; exit( -T $f ? 0 : 1 )' "$f"; then
echo "${0##*/}: $f: $t (PASS)" >&2
echo "$f"
else
echo "${0##*/}: $f: $t (IGNORE)" >&2
fi
;;
esac
done