summaryrefslogtreecommitdiff
path: root/guix/build/bournish.scm
AgeCommit message (Expand)Author
2017-05-13bournish: 'ls' adjusts the column width depending on the entries....* guix/build/bournish.scm (display-tabulated): Remove #:columns and #:column-width parameters. Add #:terminal-width and #:column-gap. Compute COLUMN-WIDTH and COLUMNS. Ludovic Courtès
2017-05-13bournish: 'ls' lists directory contents....Suggested by Ricardo Wurmus. * guix/build/bournish.scm (ls-command-implementation): When FILE is a directory, list its contents rather than FILE itself. Ludovic Courtès
2017-01-26bournish: Extend 'rm' command....* guix/build/bournish.scm (rm-command): New procedure. (%commands): Use it. * tests/bournish.scm: Add tests for "rm" and "rm -r". Ricardo Wurmus
2016-10-10bournish: Add 'reboot' command....Suggested by Ricardo Wurmus. * guix/build/bournish.scm (reboot-command): New procedure. (%commands): Add it. Ludovic Courtès
2016-06-23bournish: Add 'wc' command....* guix/build/bournish.scm (lines+chars, file-exists?*, wc-print) (wc-l-print, wc-c-print, wc-command, wc-command-implementation) (wc-l-command-implementation, wc-c-command-implementation): New procedures. (%commands): Add 'wc'. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Efraim Flashner
2016-06-06bournish: Allow compilation of multiple expressions....* guix/build/bournish.scm (%bournish-language): Add a joiner to SCHEME. Compile only to Scheme. * tests/bournish.scm: New file. * Makefile.am (SCM_TESTS): Add it. Ludovic Courtès
2016-06-06bournish: Handle EOF in the reader....* guix/build/bournish.scm (read-bournish): Add case for EOF. Ludovic Courtès
2016-02-08Add (guix build bournish) and use it in the initrd....* guix/build/bournish.scm: New file. * Makefile.am (MODULES): Add it. * gnu/system/linux-initrd.scm (base-initrd): Add (guix build bournish) and use it. Ludovic Courtès