=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== darcs-2.14.5/contrib/cygwin-wrapper.bash-2- darcs-2.14.5/contrib/cygwin-wrapper.bash:3:DIRNAME=`dirname "${0}"` darcs-2.14.5/contrib/cygwin-wrapper.bash-4-if [ "${DIRNAME:0:1}" = "/" ] ; then ############################################## darcs-2.14.5/contrib/cygwin-wrapper.bash-190- cygpath -wl -- "$1" darcs-2.14.5/contrib/cygwin-wrapper.bash:191: # echo "converting path ${*} ... to `cygpath -wl -- ${1}`" >> /tmp/log darcs-2.14.5/contrib/cygwin-wrapper.bash-192- fi ############################################## darcs-2.14.5/contrib/cygwin-wrapper.bash-206- # The option has an '=' in it. darcs-2.14.5/contrib/cygwin-wrapper.bash:207: opt=`expr match "$arg" '\([^=]*\)'` darcs-2.14.5/contrib/cygwin-wrapper.bash:208: opt_arg=`expr match "$arg" '[^=]*=\(.*\)'` darcs-2.14.5/contrib/cygwin-wrapper.bash-209- if is_opaque_opt "$opt"; then ############################################## darcs-2.14.5/contrib/cygwin-wrapper.bash-211- elif is_file_opt "$opt"; then darcs-2.14.5/contrib/cygwin-wrapper.bash:212: opt_arg=`convert_path "$opt_arg"` darcs-2.14.5/contrib/cygwin-wrapper.bash-213- else ############################################## darcs-2.14.5/contrib/cygwin-wrapper.bash-235- fi darcs-2.14.5/contrib/cygwin-wrapper.bash:236: opt_arg=`convert_path "$1"` darcs-2.14.5/contrib/cygwin-wrapper.bash-237- shift ############################################## darcs-2.14.5/contrib/cygwin-wrapper.bash-246- if $convert_nonoption_args; then darcs-2.14.5/contrib/cygwin-wrapper.bash:247: arg=`convert_path "$arg"` darcs-2.14.5/contrib/cygwin-wrapper.bash-248- fi ############################################## darcs-2.14.5/contrib/darcs_completion-61- while [ $((--i)) -ge 0 ]; do darcs-2.14.5/contrib/darcs_completion:62: COMPREPLY[$i]=`printf %q "${COMPREPLY[$i]}"` darcs-2.14.5/contrib/darcs_completion-63- COMPREPLY[$i]=${COMPREPLY[$i]#"$colonprefixes"} ############################################## darcs-2.14.5/contrib/update_roundup.pl-50- # Using the Command Line would be a simpler alternative. darcs-2.14.5/contrib/update_roundup.pl:51: # my $out = `roundup-admin -i /var/lib/roundup/trackers/darcs set $issue status=resolved`; darcs-2.14.5/contrib/update_roundup.pl-52- # warn "unexpected output: $out" if $out; ############################################## darcs-2.14.5/contrib/upload.cgi-107- $repo_clone_cmd =~ s/TARGETREPO/$darcsurl/; darcs-2.14.5/contrib/upload.cgi:108: system("$repo_clone_cmd >/dev/null 2>/dev/null") == 0 or darcs-2.14.5/contrib/upload.cgi-109- return "Could not clone target repo: '$repo_clone_cmd' failed"; ############################################## darcs-2.14.5/contrib/upload.cgi-113- $patch_test_cmd =~ s/TARGETPATCH/$m->{filename}/; darcs-2.14.5/contrib/upload.cgi:114: system("$patch_test_cmd >/dev/null 2>/dev/null") == 0 or darcs-2.14.5/contrib/upload.cgi-115- return "Patch is not valid: '$patch_test_cmd' failed"; ############################################## darcs-2.14.5/contrib/upload.cgi-120- } else { darcs-2.14.5/contrib/upload.cgi:121: system("$sendmail_cmd < '$m->{filename}'") == 0 or darcs-2.14.5/contrib/upload.cgi-122- return "$!: Could not send mail"; ############################################## darcs-2.14.5/harness/Darcs/Test/HashedStorage.hs-445- return $ cmpcat [cmpShape x' y', con] darcs-2.14.5/harness/Darcs/Test/HashedStorage.hs:446: where contentsEq a b = cmpcat <$> sequence (zipTrees cmp a b) darcs-2.14.5/harness/Darcs/Test/HashedStorage.hs-447- cmp _ (Just (File a)) (Just (File b)) = do a' <- readBlob a ############################################## darcs-2.14.5/src/Darcs/Patch/Annotate.hs-158-eval :: (Int, B.ByteString) -> (Int, B.ByteString) darcs-2.14.5/src/Darcs/Patch/Annotate.hs:159:eval (i,b) = seq i $ seq b $ (i,b) darcs-2.14.5/src/Darcs/Patch/Annotate.hs-160- ############################################## darcs-2.14.5/src/Darcs/Repository/Prefs.hs-573- , "e.g. `David Roundy <droundy@abridgegame.org>`. This file overrides the" darcs-2.14.5/src/Darcs/Repository/Prefs.hs:574: , "contents of the environment variables `$DARCS_EMAIL` and `$EMAIL`."]) darcs-2.14.5/src/Darcs/Repository/Prefs.hs-575- , ("defaults", unlines ############################################## darcs-2.14.5/src/Darcs/Repository/Prefs.hs-681- , "specifying some other directory in the file `_darcs/prefs/tmpdir` or the" darcs-2.14.5/src/Darcs/Repository/Prefs.hs:682: , "environment variable `$DARCS_TMPDIR` or `$TMPDIR`."]) darcs-2.14.5/src/Darcs/Repository/Prefs.hs-683- , ("prefs", unlines ############################################## darcs-2.14.5/src/Darcs/UI/Commands/Clone.hs-296- scanContextFile ctxFilePath darcs-2.14.5/src/Darcs/UI/Commands/Clone.hs:297: (ps `seq` return $ Right ()) `catch` \(_ :: SomeException) -> darcs-2.14.5/src/Darcs/UI/Commands/Clone.hs-298- return . Left $ "File " ++ ctxFilePath ############################################## darcs-2.14.5/src/Darcs/UI/Commands/Convert.hs-747- markpath n = floatPath (darcsdir </> "marks") darcs-2.14.5/src/Darcs/UI/Commands/Convert.hs:748: `appendPath` (makeName $ show (n `div` 1000)) darcs-2.14.5/src/Darcs/UI/Commands/Convert.hs:749: `appendPath` (makeName $ show (n `mod` 1000)) darcs-2.14.5/src/Darcs/UI/Commands/Convert.hs-750- ############################################## darcs-2.14.5/src/Darcs/UI/Commands/Log.hs-355- | otherwise = mbAppendErr $ vsep (map (number_patch description') pis) darcs-2.14.5/src/Darcs/UI/Commands/Log.hs:356: where mbAppendErr = maybe id (\err -> ($$ err)) mbErr darcs-2.14.5/src/Darcs/UI/Commands/Log.hs-357- change_with_summary :: Sealed2 (PatchInfoAnd rt p) -> Doc ############################################## darcs-2.14.5/src/Darcs/UI/Commands/ShowAuthors.hs-199- <?> "List of regexps" darcs-2.14.5/src/Darcs/UI/Commands/ShowAuthors.hs:200: return $ Just $ Spelling (strip name) addr (compile rest) darcs-2.14.5/src/Darcs/UI/Commands/ShowAuthors.hs-201- where ############################################## darcs-2.14.5/src/Darcs/UI/Flags.hs-297- "`_darcs/prefs/author` (in the repository) and `" ++ globalPrefsDirDoc ++ "author` (in your", darcs-2.14.5/src/Darcs/UI/Flags.hs:298: "home directory), and the environment variables `$DARCS_EMAIL` and", darcs-2.14.5/src/Darcs/UI/Flags.hs:299: "`$EMAIL`. If none of those exist, Darcs will prompt you for an author", darcs-2.14.5/src/Darcs/UI/Flags.hs-300- "string and write it to `" ++ globalPrefsDirDoc ++ "author`. Note that if you have more", ############################################## darcs-2.14.5/src/Darcs/Util/Tree/Hashed.hs-225- runTreeMonad action $ initialState t darcsHash updateItem darcs-2.14.5/src/Darcs/Util/Tree/Hashed.hs:226: where updateItem _ (File b) = File <$> updateFile b darcs-2.14.5/src/Darcs/Util/Tree/Hashed.hs-227- updateItem _ (SubTree s) = SubTree <$> updateSub s ############################################## darcs-2.14.5/tests/failing-pristine-problems.sh-37- darcs-2.14.5/tests/failing-pristine-problems.sh:38:roothash=`darcs show pristine | grep ' ./$' | cut -d' ' -f1` darcs-2.14.5/tests/failing-pristine-problems.sh:39:wibblehash=`darcs show pristine | grep ' wibble$' | cut -d' ' -f1` darcs-2.14.5/tests/failing-pristine-problems.sh-40- ############################################## darcs-2.14.5/tests/issue1618-amend-preserve-logfile.sh-36-# the msg has the format: "Logfile left in filenamehere." darcs-2.14.5/tests/issue1618-amend-preserve-logfile.sh:37:LOGFILE=`grep "Logfile left in" out | sed "s/Logfile left in //" | sed s/.$//` darcs-2.14.5/tests/issue1618-amend-preserve-logfile.sh-38- ############################################## darcs-2.14.5/tests/issue1620-record-lies-about-leaving-logfile.sh-34-# the msg has the format: "Logfile left in filenamehere." darcs-2.14.5/tests/issue1620-record-lies-about-leaving-logfile.sh:35:LOGFILE=`grep "Logfile left in" out | sed "s/Logfile left in //" | sed s/.$//` darcs-2.14.5/tests/issue1620-record-lies-about-leaving-logfile.sh-36-test -e "$LOGFILE" ############################################## darcs-2.14.5/tests/issue1987.sh-66-# 0000000120-8462241e685a983cff956f05a6a32f3ff6b27a485e67d19b84b2b5fef31fab84 darcs-2.14.5/tests/issue1987.sh:67:PATCH=`comm -13 <(echo "$PENDING_FILES") <(echo "$PATCHES_DIR_AFTER_RECORD")` darcs-2.14.5/tests/issue1987.sh-68- ############################################## darcs-2.14.5/tests/issue595_get_permissions.sh-40- else darcs-2.14.5/tests/issue595_get_permissions.sh:41: echo "Apparently I can't do `basename $0` on this platform" darcs-2.14.5/tests/issue595_get_permissions.sh-42- fi darcs-2.14.5/tests/issue595_get_permissions.sh-43-else darcs-2.14.5/tests/issue595_get_permissions.sh:44: echo "Can't do `basename $0` on this platform" darcs-2.14.5/tests/issue595_get_permissions.sh-45-fi ############################################## darcs-2.14.5/tests/lib-83-finish_http() { darcs-2.14.5/tests/lib:84: test -e "$1/light.pid" && kill `cat "$1/light.pid"` || true darcs-2.14.5/tests/lib-85-} ############################################## darcs-2.14.5/tests/network/failing-issue1599-automatically-expire-unused-caches.sh-51-fi darcs-2.14.5/tests/network/failing-issue1599-automatically-expire-unused-caches.sh:52:c1=`grep -c "URL.waitUrl $baseurl/dummyRepo" log` darcs-2.14.5/tests/network/failing-issue1599-automatically-expire-unused-caches.sh-53-[ $c1 -eq 2 ] ############################################## darcs-2.14.5/tests/network/issue1923-cache-warning.sh-43-darcs log --verbose --repo S1 --no-cache 2>&1 | tee log-local darcs-2.14.5/tests/network/issue1923-cache-warning.sh:44:c1=`grep -c "$baseurl/dummyRepo" log-local` darcs-2.14.5/tests/network/issue1923-cache-warning.sh-45-[ $c1 -eq 1 ] ############################################## darcs-2.14.5/tests/network/issue1923-cache-warning.sh-50-darcs log --verbose --repo $baseurl/S2 --no-cache 2>&1 | tee log-remote darcs-2.14.5/tests/network/issue1923-cache-warning.sh:51:c1=`grep -c "$baseurl/dummyRepo" log-remote` darcs-2.14.5/tests/network/issue1923-cache-warning.sh-52-[ $c1 -eq 1 ] # always under your control ############################################## darcs-2.14.5/tests/send-external.sh-37-while [ "\$#" != "0" ]; do darcs-2.14.5/tests/send-external.sh:38: CNT=`expr \$CNT + 1` darcs-2.14.5/tests/send-external.sh-39- echo \$0: arg[\$CNT] = \"\$1\" >>saved.out