add edit feature

This commit is contained in:
2023-12-04 13:35:40 +01:00
parent 416c163d94
commit a33a76bb06
4 changed files with 89 additions and 2 deletions

3
rpn.go
View File

@@ -185,7 +185,8 @@ DESCRIPTION
Stack manipulation commands: clear clear the whole stack shift remove
the last element of the stack reverse reverse the stack elements swap
exchange the last two stack elements dup duplicate last stack item undo
undo last operation
undo last operation edit edit the stack interactively using vi or
$EDITOR
Other commands: help|? show this message manual show manual
quit|exit|c-d|c-c exit program