```
local ucl = require('ucl')
local parser = ucl.parser()
local res, err = parser:parse_string(io.read('*a'))
if not res then
print('parser error: ' .. err)
return 1
end
local obj = parser:get_object()
print(ucl.to_format(obj, 'config'))
print(ucl.to_format(obj, 'json'))
print(ucl.to_format(obj, 'json-compact'))
print(ucl.to_format(obj, 'yaml'))
```
/usr/libexec/flua test.lua </etc/rc.conf