Merge pull request #1777 from mhmdfy/ignore-case

ignore case when sorting
This commit is contained in:
Richard Cordovano 2015-12-17 11:22:43 -05:00
commit d3effed39c
2 changed files with 3 additions and 3 deletions

View File

@ -1297,7 +1297,7 @@ class Logs(object):
log.close()
common_log.write("\n")
common_log.close()
srtcmdlst = ["sort", test_data.common_log_path, "-o", test_data.common_log_path]
srtcmdlst = ["sort", "--ignore-case", test_data.common_log_path, "-o", test_data.common_log_path]
subprocess.call(srtcmdlst)
except (OSError, IOError) as e:
Errors.print_error("Error: Unable to generate the common log.")

View File

@ -251,7 +251,7 @@ class TskDbDiff(object):
conn.close()
# Now sort the file
srtcmdlst = ["sort", unsorted_dump, "-o", bb_dump_file]
srtcmdlst = ["sort", "--ignore-case", unsorted_dump, "-o", bb_dump_file]
subprocess.call(srtcmdlst)
@ -286,7 +286,7 @@ class TskDbDiff(object):
db_log.write('%s\n' % line)
# Now sort the file
srtcmdlst = ["sort", dump_file, "-o", dump_file]
srtcmdlst = ["sort", "--ignore-case", dump_file, "-o", dump_file]
subprocess.call(srtcmdlst)
conn.close()