You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lnav/test/test_sql_regexp.sh

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