A line editor for personal use aptly named bed (Basic EDitor, pronounced bee-eh-dee).
As a line editor it takes inspiration from the official standard UNIX editor ed.
FEATURES/MNEMONICS:
- edit file
- insert line to buffer (overwrites current content of buffer)
- append line to buffer
- +1 to line number (go to next line)
- -1 to line number (go to previous line)
- write contents of buffer to a file
- quit and exit the editor
MISSING
- when loading a file, load also it's contents to the buffer
TODO
- DELETE lines
- GOTO any given (existing) absolute line
- GOTO a relative line
- PRINT multiple lines
- DELETE multiple lines
- REGULAR EXPRESSIONS (an article by BRIAN KERNIGHAN was added to help in regards to this feature)
- SUBSTITUTE contents in a line via REGEX
- GLOBALY match contents via REGEX
- VISUAL DISPLAY as an alternative method to showing the editor