Add mul and echo utilities

This commit is contained in:
joachimschmidt557 2019-03-07 14:50:39 +01:00
parent dcfdb290f7
commit 3b5369fb21
5 changed files with 15 additions and 1 deletions

8
echo.nim Normal file
View file

@ -0,0 +1,8 @@
import cligen, sequtils
proc main(strings:seq[string], newline=true) =
if newline: writeLine(stdout, strings.foldl(a & b))
else: write(stdout, strings.foldl(a & b))
flushFile(stdout)
dispatch(main)