diff options
author | Pim Snel <pim@lingewoud.nl> | 2020-02-06 00:59:29 +0100 |
---|---|---|
committer | Pim Snel <pim@lingewoud.nl> | 2020-02-06 00:59:29 +0100 |
commit | cba82c48c8cf40a28cf6e260943e7a1c3b8b6665 (patch) | |
tree | 08340c84196e42af8e437b5cc0b1b29d1d321011 /src/main.c | |
parent | 2110c0b8e2b7007f5de0d7f0084dac15817aae8e (diff) | |
parent | aeacf49e67bde5736becfc6a41d8a4735592a4d2 (diff) |
Merge branch 'freeze' into addExecuteCommand
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -321,6 +321,18 @@ int main (int argc, char ** argv) { lastbackup_tv = (struct timeval) {0}; #endif + if (get_conf_value("export_csv")) { + export_delim(NULL, ',', 0, 0, maxrow, maxcol, 0); + } + + if (get_conf_value("export_tab")) { + export_delim(NULL, '\t', 0, 0, maxrow, maxcol, 0); + } + + if (get_conf_value("export") || get_conf_value("export_txt")) { + export_plain(NULL, 0, 0, maxrow, maxcol); + } + while ( ! shall_quit && ! atoi((char *) get_conf_value("quit_afterload"))) { // save current time for runtime timer gettimeofday(¤t_tv, NULL); |