Changeset 90 for trunk/bin/reglookup-timeline
- Timestamp:
- 03/28/07 15:22:38 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/reglookup-timeline
r68 r90 5 5 # timelines for investigations. 6 6 # 7 # Copyright (C) 2005-200 6Timothy D. Morgan7 # Copyright (C) 2005-2007 Timothy D. Morgan 8 8 # 9 9 # This program is free software; you can redistribute it and/or modify … … 25 25 usage() 26 26 { 27 echo "Usage: $0 <REGISTRY_FILE> [<REGISTRY_FILE> ...]" 1>&227 echo "Usage: $0 [-H] <REGISTRY_FILE> [<REGISTRY_FILE> ...]" 1>&2 28 28 } 29 29 … … 34 34 fi 35 35 36 echo "MTIME,FILE,PATH" 36 PRINT_HEADER=true 37 if [ "$1" = "-H" ]; then 38 PRINT_HEADER=false 39 shift 40 fi 41 42 if [ "$PRINT_HEADER" = "true" ]; then 43 echo "MTIME,FILE,PATH" 44 fi 45 37 46 for F in $@; do 38 47 reglookup -t KEY -H "$F" | awk -F',' '{ printf "%s,'"$F"',%s\n",$4,$1; }'
Note: See TracChangeset
for help on using the changeset viewer.