grep_mudlib.sh

tmi2_fluffos_v2/lib/adm/shell/grep_mudlib.sh · 711 B

From the archive tmi2_fluffos_v2.zip

Download the archive   « Back to the archive contents

#!/bin/sh
#
# File     :  /adm/shell/grep_mudlib.sh
# Purpose  :  a shell script to list the names of all files in the mudlib
#             that match the regular expression \.\.*\-*[0-9]*\]
#             eg foo[3..-1]
#             and outputs to the file /GREP.out
#             Run from shell by typing
#               /proj/tmi/tmi-2/adm/shell/grep_mudlib.sh &
#             Takes a few minutes to run
# 95-03-13 :  Leto wrote the find command
#             Pallando changed it to a shell script and installed it here
#             Modified, documented and installed by Pallando
#
find /proj/tmi/tmi-2 -type f -exec grep -l -e '\.\.*\-*[0-9]*\]' {} \; > /proj/tmi/tmi-2/GREP.out 2> /proj/tmi/tmi-2/GREP.err

Site Stats

Snippets: 1791
Codebases: 571