grepid: do not follow symlinks by default

This commit is contained in:
Josh Holtrop 2021-09-08 15:10:47 -04:00
parent 80798c9982
commit 1158719cf7

2
grepid
View File

@ -62,7 +62,7 @@ def main(argv):
try: try:
process = Popen(['grep', '--exclude-dir=.svn', '--exclude-dir=.git', process = Popen(['grep', '--exclude-dir=.svn', '--exclude-dir=.git',
'--exclude=tags', '--exclude=tags',
'--color=never', '-HIRn', '\<%s\>' % ident] + flags, stdout=PIPE) '--color=never', '-HIrn', '\<%s\>' % ident] + flags, stdout=PIPE)
last_file_name = '' last_file_name = ''
lines = [] lines = []