Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

#README for ush parser and Micro shell (ush).

Vincent W. Freeh

This a parser for a csh-like syntax. It is to be used for the ush shell project.

There are five files:

. README this file . Makefile . main.c driver program that reads and prints commands . parse.c define parsing function and other support functions . parse.h

To use in your program, you must include parse.h and call the function parse(), which return a Pipe data structure. (See main.c) The Pipe contains all the information in a line of input to a shell.

Dinesh Prasanth M K

This Micro shell (ush) has following built-in commands:

  • cd
  • where
  • echo
  • nice
  • logout
  • pwd
  • setenv
  • unsetenv

supports:

  • redirection (>, >&, >>, >>&)
  • supports multi pipe commands including stderr redirect (|, |&)

Running

	make
	./ush
	{yourhost}% [start typing commands]

About

Micro Shell (ush) in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published