summaryrefslogtreecommitdiffstats
path: root/test/multiline.lnav
blob: 3ee2135c003ffd30e029309e01ce3000fe5ad480 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /usr/bin/env lnav -f

;CREATE TABLE foobar (
    mykey integer primary key,
    name text
);

;INSERT INTO foobar VALUES (1, 'Jules');

;INSERT INTO environ
   SELECT "msg", "Hello: " || group_concat(name, ", ") FROM foobar;

:pipe-line-to
  echo $msg