Code Monkey home page Code Monkey logo

rshell-1's Introduction

RShell

licensing

Read LICENSE for more information.

purpose

'RShell' is a basic command shell that displays a command prompt and reads in user-entered commands in one line. This program is currently a work in progress, and is a project for the class, CS100: Software Construction, taught by Mike Izbicki at the University of California, Riverside.

installation

Clone project at: https://github.com/jstod001/rshell.git.

Once cloned:

  • Type make rshell to compile the program and place the executable in the rshell folder.
  • Or, type make all to compile the program and place the executable in ~/bin, which is created by the Makefile.

bugs

  • In its current standing, RShell only works with single commands and any associated flags. It cannot accept the connecters: (;, &&, and ||).
  • The cd function is currently non-functional. This feature will be added later on.
  • The echo command cannot recognize quotes, and will still print words as if they are separate tokens.
  • While comments in the middle of a user entry will be recognized, such as in echo hello #world, a user entry that begins with #, as in #echo hello world, will result in a stated, "logic error," and ABORT the program.
  • [ FIXED 10/21/2014: Comments are now recognized in the command prompt. ] Comments in the command prompt (using '#') are not recognized.
  • [ FIXED 10/20/2014: The exit command is now functional without having to make multiple entries. ] There is now an exit command in effect, but one caveat is that it may take multiple entries of exit to actually exit the program, due to the way child and parent processes are currently handled.
  • [ FIXED 10/20/2014: echo can now display an entire string. ] The "echo" command can only display one word. For example: "echo hello" will output "hello" to the console, but "echo hello world" will result in an error.

rshell-1's People

Contributors

hray001 avatar

Watchers

James Cloos avatar  avatar

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.