OK... I got it working! [got WARNING: untrusted versions of the following packages will be installed!] $ cat e.xq declare option output:separator "\n"; for $m in (1,2,3,4) return "a b c" $ basex -L e.xq a b c a b c a b c a b c $ < /dev/null basex -v|sed q #no --version option yet BaseX 7.2 [Standalone] OK Thanks!