Finish the documentation.
authorReid Spencer <rspencer@reidspencer.com>
Mon, 20 Sep 2004 08:04:13 +0000 (08:04 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 20 Sep 2004 08:04:13 +0000 (08:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16444 91177308-0d34-0410-b5e6-96231b3b80d8

utils/llvmdo

index 373b6574d9587a3e90ab911611132601db1aed41..eb696184711bb1448e43b1ac76db6e240fb3cc3b 100755 (executable)
 #  llvmdo [-dirs "DIRNAMES..." PROGRAM ARGS...
 #
 # The -dirs argument allows you to specify the set of directories that are 
-# searched. By default, everything is searched
-# (excluding certain things), runs "wc -l" on them to get the number of lines in
-# each file and then sums up and prints the total with awk. 
-#
-# The script takes no arguments but does expect to be run from the top llvm
-# source directory.
-#
-# This script is
-# greps.
+# searched. By default, everything is searched. Note that you must use quotes
+# around the list of directory names. After that you simply specify whatever
+# program you want to run against each file and the arguments to give it. The
+# PROGRAM will be given the file name as its last argument.
+##===----------------------------------------------------------------------===##
 
 if test $# -lt 1 ; then
   echo "Usage: llvmdo [-dirs "DIRNAMES..."] PROGRAM ARGS...";