Works only with lua5.3 and lua5.2 (for now)
make
# or
make lua5-3 # for lua5.3 (default target)
make lua5-2 # for lua5.2
local pipe = require "pipe"
local p = pipe.open ("pacmd")
p:write ("dump\n")
local res = p:read ()
local res_err = p:read_err ()
print (res)
print (res_err)