1
1
mirror of https://github.com/tstack/lnav.git synced 2024-09-11 13:05:51 +03:00
lnav/test/test_sql_regexp.sh
2022-08-30 22:28:12 -07:00

9 lines
223 B
Bash

#! /bin/bash
export YES_COLOR=1
run_cap_test ${lnav_test} -n \
-c ";SELECT * FROM syslog_log, regexp_capture_into_json(log_body, '"'"'"(?<value>[^"'"'"]+)')" \
-c ":write-csv-to -" \
${test_dir}/logfile_syslog.3