From 9f2b98a74992f2837903f0ed91f4c6cb69784ab4 Mon Sep 17 00:00:00 2001 From: Stephen Brennan Date: Fri, 16 Jan 2015 17:37:20 -0500 Subject: [PATCH] Updated README for my recent changes. --- README.md | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 08e638f..3377493 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,12 @@ LSH === -LSH is my little attempt at a *real* shell in C. It's called LSH because it's -supposed to be the Libstephen SHell. That's because I hope that if this shell -becomes anything, it could become a part of Libstephen as a shell library. It -would have a simple shell syntax, maybe optional globbing, and it would be -simple to plug any set of commands into it. That way, it could be used for -quick interfaces by defining simple commands. - -But right now, it's just a simple shell to demonstrate that I know how a shell -works. That is, read, parse, fork, exec, and wait. So I think it's pretty -cool. Here are the limitations: - -* One line commands. -* Only whitespace-delimited, no quoting of arguments. -* No built-ins (e.g. cd, pwd, etc.). - +LSH is a simple implementation of a shell in C. It demonstrates the basics of +how a shell works. That is: read, parse, fork, exec, and wait. So I think it's +pretty cool. Since it's a simple implementation, it has some limitations. + +* Commands must be on a single line. +* Arguments must be separated by whitespace. +* No quoting arguments or escaping whitespace. +* No piping or redirection. +* Only builtins are: `cd`, `help`, `exit`.