summaryrefslogtreecommitdiff
path: root/utils/llvmdo
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-09-20 08:04:13 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-09-20 08:04:13 +0000
commit9610fc901a7f61b065d2ddbf2d3e68a2c973ac88 (patch)
tree28cd55cea674bc156634c7723ea5eca54b19a85d /utils/llvmdo
parent33709e53e44ad15aaed04e1abd4c154c617d63f6 (diff)
downloadllvm-9610fc901a7f61b065d2ddbf2d3e68a2c973ac88.tar.gz
llvm-9610fc901a7f61b065d2ddbf2d3e68a2c973ac88.tar.bz2
llvm-9610fc901a7f61b065d2ddbf2d3e68a2c973ac88.tar.xz
Finish the documentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16444 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/llvmdo')
-rwxr-xr-xutils/llvmdo14
1 files changed, 5 insertions, 9 deletions
diff --git a/utils/llvmdo b/utils/llvmdo
index 373b6574d9..eb69618471 100755
--- a/utils/llvmdo
+++ b/utils/llvmdo
@@ -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...";