[llvm-commits] CVS: llvm/utils/llvmdo

Reid Spencer reid at x10sys.com
Mon Sep 20 01:04:23 PDT 2004



Changes in directory llvm/utils:

llvmdo updated: 1.4 -> 1.5
---
Log message:

Finish the documentation.


---
Diffs of the changes:  (+5 -9)

Index: llvm/utils/llvmdo
diff -u llvm/utils/llvmdo:1.4 llvm/utils/llvmdo:1.5
--- llvm/utils/llvmdo:1.4	Mon Sep 20 03:00:09 2004
+++ llvm/utils/llvmdo	Mon Sep 20 03:04:13 2004
@@ -20,15 +20,11 @@
 #  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...";






More information about the llvm-commits mailing list