Rutger van Beusekom
745757cfd0
WIP FOO => rewrite me harder
2018-07-13 22:54:22 +02:00
Jan Nieuwenhuizen
859a95efe2
doc: Add skeleton.
2018-07-10 00:11:50 +02:00
Jan Nieuwenhuizen
9f8daa3d3c
guix: resurrect package build.
2018-07-10 00:11:24 +02:00
Jan Nieuwenhuizen
6aa17dd4ac
cat: Support multiple arguments, support "-"
...
* gash/bournish-commands.scm (cat-implementation): Support multiple
arguments, support "-".
(wrap-command): New function.
2018-07-05 06:17:34 +02:00
Jan Nieuwenhuizen
b8e41cfa55
typos
2018-07-04 21:11:27 +02:00
Jan Nieuwenhuizen
8c441105fe
bournish: cp, rm: handle exit stati.
2018-07-04 21:04:36 +02:00
Jan Nieuwenhuizen
d920fe1b4a
oops: bugfix `cp' FIXUP: bournish commit.
2018-07-04 20:54:30 +02:00
Jan Nieuwenhuizen
f5ee21eb36
Update help and root prompt.
2018-07-04 20:35:28 +02:00
Jan Nieuwenhuizen
41f723c417
Geiser support.
...
* .dir-locals.el: Geiser support.
2018-07-04 20:11:26 +02:00
Jan Nieuwenhuizen
b5632a0103
remove BUGS
2018-07-04 20:10:06 +02:00
Jan Nieuwenhuizen
836f7627b2
Import bournish commands from GNU Guix.
...
* AUTHORS: New file.
* gash/bournish-commands.scm: New file. Imported and adapted from GNU
Guix.
* gash/bournish-commands.scm: Likewise.
* gash/gash.scm (%commands): Add commands from Bournish.
2018-07-04 20:03:11 +02:00
Jan Nieuwenhuizen
0bc6de34d1
bugfix: test/22-semi-pipe-exit-0.sh
2018-07-04 19:17:52 +02:00
Jan Nieuwenhuizen
795b059373
Add -e, -x options. Use -x for running tests.
2018-07-04 06:58:01 +02:00
Jan Nieuwenhuizen
503be95f97
test: Updates.
2018-07-03 22:18:05 +02:00
Jan Nieuwenhuizen
61ee206b8d
softcode --debug levels.
2018-07-03 21:07:21 +02:00
Jan Nieuwenhuizen
cda9eda403
implement set -x.
2018-07-03 20:56:03 +02:00
Jan Nieuwenhuizen
f047fd2d2a
exit: new builtin.
2018-07-03 20:56:03 +02:00
Jan Nieuwenhuizen
c4ea4457f9
implement set -e.
2018-07-03 20:56:03 +02:00
Jan Nieuwenhuizen
567170d226
variables: use string for key, value.
2018-07-03 20:20:04 +02:00
Jan Nieuwenhuizen
b01c5da8ac
Revert "non builtin hax0r"
...
This reverts commit 29a54650ab
.
2018-07-03 19:59:52 +02:00
Jan Nieuwenhuizen
867d83bb69
gash -c COMMAND: exit status fix0r
2018-07-03 06:39:02 +02:00
Rutger van Beusekom
29a54650ab
non builtin hax0r
2018-07-02 20:18:59 +02:00
Rutger van Beusekom
4ef3a941aa
WIP: status:exit-val
2018-07-02 20:05:50 +02:00
Rutger van Beusekom
054db72e94
WILDE PETS
2018-07-02 19:55:19 +02:00
Jan Nieuwenhuizen
462f8ce95f
handle exit stati WIP
2018-07-02 19:11:06 +02:00
Jan Nieuwenhuizen
d79936f561
Refactor builtin commands.
...
* gash/gash.scm (main): Handle --prefer-builtins.
(display-help): Mention it.
(bg-command, cd-command, echo-command, pwd-command, fg-command): New
functions.
(%commands): New variable.
(builtin): Use it.
2018-07-02 19:02:52 +02:00
Rutger van Beusekom
01bfb484dc
allow reserved words "everywhere"
2018-07-02 08:39:24 +02:00
Rutger van Beusekom
32f1d25170
add -c STRING
2018-07-02 08:35:10 +02:00
Rutger van Beusekom
e3d564fc4c
fix spawn to use no input or just the first
2018-07-01 14:04:23 +02:00
Jan Nieuwenhuizen
1b56f8cb2f
BUGS: New file. Fixed one.
2018-06-30 07:08:39 +02:00
Jan Nieuwenhuizen
1562ef93cb
guix: Propagate guile-readline.
...
* guix.scm (gash): Propagate guile-readline.
2018-06-30 06:37:20 +02:00
Jan Nieuwenhuizen
a14c7c7360
Use pretty-print to display error tree.
...
* gash/peg.scm (parse): Use pretty-print to display error tree.
(parse-): Likewise.
2018-06-30 06:36:54 +02:00
Jan Nieuwenhuizen
fbe9747d00
guix: Add guix package build.
...
* guix.scm: New file.
2018-06-29 20:19:49 +02:00
Jan Nieuwenhuizen
7b9871478b
build: add ./configure, compile .go files.
...
* configure: New file.
* build-aux/build-guile.sh: New file.
* makefile (all-go): New target.
2018-06-29 20:18:02 +02:00
Jan Nieuwenhuizen
cd4a80d3cb
build: add makefile, build bin/gash
...
* bin/gash.in: New file.
* bin/gash: Remove
* makefile: New file.
2018-06-29 20:18:02 +02:00
Jan Nieuwenhuizen
df4f7971aa
updates from verum/gaiag.
2018-06-29 20:18:02 +02:00
Rutger van Beusekom
ca01e904d3
generalize pipe for multiple in- and out-puts
2018-02-22 16:17:43 +01:00
Rutger van Beusekom
b6c566e989
support scheme in the pipeline
2018-02-17 21:15:41 +01:00
Rutger van Beusekom
9856ad7619
fix builtins
2017-12-07 23:07:31 +01:00
Rutger van Beusekom
f171f79ec9
substitution
2017-12-07 23:07:31 +01:00
Rutger van Beusekom
2446a63281
catch all errors
2017-12-07 23:07:31 +01:00
Rutger van Beusekom
6e556508f5
checkpoint
2017-12-07 23:07:31 +01:00
Rutger van Beusekom
e31829a757
substitution
2017-12-07 23:07:31 +01:00
Rutger van Beusekom
e348606d36
testing
2017-12-07 23:07:31 +01:00
Rutger van Beusekom
57b93d2902
substitution WIP
2017-12-07 23:07:31 +01:00
Rutger van Beusekom
0a75234e52
complete rename from anguish to gash
2017-12-07 23:07:31 +01:00
Rutger van Beusekom
1bfb752b3c
split off job
2017-12-07 23:07:30 +01:00
Rutger van Beusekom
bb68e4728c
split off util
2017-12-07 23:07:30 +01:00
Rutger van Beusekom
6b3351aa8a
split off io
2017-12-07 23:07:30 +01:00
Rutger van Beusekom
34737293ef
here document
2017-12-07 23:07:30 +01:00