Skip to content
/ bed Public

line editor that will eventually be evolved to include display

License

Notifications You must be signed in to change notification settings

greybrunix/bed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BED

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:

  1. edit file
  2. insert line to buffer (overwrites current content of buffer)
  3. append line to buffer
  4. +1 to line number (go to next line)
  5. -1 to line number (go to previous line)
  6. write contents of buffer to a file
  7. quit and exit the editor

MISSING

  1. when loading a file, load also it's contents to the buffer

TODO

  1. DELETE lines
  2. GOTO any given (existing) absolute line
  3. GOTO a relative line
  4. PRINT multiple lines
  5. DELETE multiple lines
  6. REGULAR EXPRESSIONS (an article by BRIAN KERNIGHAN was added to help in regards to this feature)
  7. SUBSTITUTE contents in a line via REGEX
  8. GLOBALY match contents via REGEX
  9. VISUAL DISPLAY as an alternative method to showing the editor

About

line editor that will eventually be evolved to include display

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages