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 години
Yann Weber
aa31c07bf1
Add a new debug function
преди 7 години
Yann Weber
5af21265b0
Tests + bugfix for ttail_tm_cmp() function
преди 7 години
Yann Weber
6734c8ad36
Preparing autoformat detection on loglines
преди 7 години
Yann Weber
8684cc7b38
Fix #5 GPL
преди 7 години
Yann Weber
67e9aa752a
Fix #2 Implements stdin operations
Seems to work with stdin
преди 7 години
Yann Weber
9d5c000dfa
Bugfix & headers update
Deleted old argument struct tm* from search function (now using infos
stored in ttail_t.session )
преди 7 години
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 години
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 години
Yann Weber
9b99e070a9
Change utils on struct tm
Enhancement in comparison behavior + print function
преди 7 години
Yann Weber
533bb6b52e
Adding missing arguments to search functions
преди 7 години
Yann Weber
e371b34f7d
Make some arg const + add autoconf check
преди 7 години
Yann Weber
a01866eea7
Implements a struct tmp comparison function
преди 7 години
Yann Weber
55b331a15e
Add tests on ttail_logline2date() function
преди 7 години
Yann Weber
876cc00dec
Bugfixes in logfile minmax + tests update
преди 7 години
Yann Weber
e2d2d7f0db
ttail_logline2date() implementation
преди 7 години
Yann Weber
5de36b3ecc
Implements logline subst + tests
преди 7 години
Yann Weber
2ff86aadef
File spliting
преди 7 години
Yann Weber
fd6a8054ac
Bugfixes
преди 7 години
Yann Weber
26f51ae8a6
Started to implement file search op
преди 7 години
Yann Weber
e46400754a
Starting to write ttail_search + tests
преди 7 години