GithubHelp home page GithubHelp logo

davismanghi / edu Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 9 KB

University project that involved the development of a modern text editor similar to Ed (text editor for Unix operating system) but with multiple Undos in C language.

C 100.00%

edu's Introduction

edU

University project that involved the development of a software similar to Ed (text editor for Unix operating system) but with multiple Undo in C language.

"ed" is a very simple command-line text editor used in Unix environments. Its name stands for "standard text editor" and it was one of the first text editors available on Unix. "ed" is still used today as an automation script editor, but it has largely been replaced by more advanced text editors like "vi" and "emacs". It is characterized by its minimal user interface and its command-line nature, which means it does not have a graphical user interface and requires the use of specific commands to perform text editing operations.

In the specific case of this project, the input is considered as a document consisting of a sequence of numbered lines starting from one, and an integer index representing the current line number. The editor's interface consists of textual commands preceded by one or two integer numbers, where the integers represent address specifiers and indicate the address of the nth line. The supported commands include changing the text present between two address specifiers, deleting the lines between two address specifiers, printing the lines between two address specifiers, and undoing a specified number of commands. Additionally, there is a redo function to undo the effect of undo. The editor quits if the "q" command is entered.

edu's People

Contributors

davismanghi avatar

Stargazers

Evans Winner avatar

Watchers

 avatar

Forkers

davidemangano

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.