Yann Weber
bbaa6b84b4
Fix starts for #11
Adds the option -P --permissive.
Starts implementation for logfiles.
Now -P flag make ttail handle invalid files. When invalid file given the
minmax function set the file pointer and the minmax array to NULL.
May introduce bugs if the binary search function does not handles "holes"
in fp array or in minmax array...
7 years ago
Yann Weber
aa31c07bf1
Add a new debug function
7 years ago
Yann Weber
5af21265b0
Tests + bugfix for ttail_tm_cmp() function
7 years ago
Yann Weber
6734c8ad36
Preparing autoformat detection on loglines
7 years ago
Yann Weber
8684cc7b38
Fix #5 GPL
7 years ago
Yann Weber
67e9aa752a
Fix #2 Implements stdin operations
Seems to work with stdin
7 years ago
Yann Weber
9d5c000dfa
Bugfix & headers update
Deleted old argument struct tm* from search function (now using infos
stored in ttail_t.session )
7 years ago
Yann Weber
782f70e7fc
Enhancement & changes in arguments parsing
add a -h --help option, deleted -l --logfile options
+ spliting the ttail_search_closest() & ttail_search_print_res() functions
7 years ago
Yann Weber
fd5d6cad18
Bugfix & function implementation
Now we have a running minimal ttail :
src/ttail -d "Mar 6 00:29" -f '%B%n%d %H:%M' -l tests/samples/1.log -l tests/samples/1.1.log
7 years ago
Yann Weber
9b99e070a9
Change utils on struct tm
Enhancement in comparison behavior + print function
7 years ago
Yann Weber
533bb6b52e
Adding missing arguments to search functions
7 years ago
Yann Weber
e371b34f7d
Make some arg const + add autoconf check
7 years ago
Yann Weber
a01866eea7
Implements a struct tmp comparison function
7 years ago
Yann Weber
55b331a15e
Add tests on ttail_logline2date() function
7 years ago
Yann Weber
876cc00dec
Bugfixes in logfile minmax + tests update
7 years ago
Yann Weber
e2d2d7f0db
ttail_logline2date() implementation
7 years ago
Yann Weber
5de36b3ecc
Implements logline subst + tests
7 years ago
Yann Weber
2ff86aadef
File spliting
7 years ago
Yann Weber
fd6a8054ac
Bugfixes
7 years ago
Yann Weber
26f51ae8a6
Started to implement file search op
7 years ago
Yann Weber
e46400754a
Starting to write ttail_search + tests
7 years ago