summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdellah El Morabit <nsrddyn@gmail.com>2025-02-25 22:03:20 +0100
committerAbdellah El Morabit <nsrddyn@gmail.com>2025-02-25 22:03:20 +0100
commit56b2cd90ddec45f8bc41a924242cae2422aac5cc (patch)
tree590a7aa45ef5744839f36efbfcb7153d82cb49ce
parent3faa7cbf79cbfb26b1b7f8a3e71550c2cf80f8e2 (diff)
parentdc86f2ad8291cd05b3061aca2c86c98494dd3c86 (diff)
Merge remote-tracking branch 'refs/remotes/origin/master'
added the readme file i think, or i dont know why a merge is needed
-rw-r--r--README.md43
1 files changed, 0 insertions, 43 deletions
diff --git a/README.md b/README.md
index 2316851..eef0fc5 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,3 @@
-Here’s a README file for your C shell project that explains the purpose, features, installation, usage, and contribution guidelines:
-
🐚 Custom C Shell
A simple Unix-like shell implemented in C with basic file system operations, directory management, and file manipulation commands.
@@ -62,44 +60,3 @@ $ cd [directory] # Change the working directory
$ clr # Clear the terminal
$ echo [message] # Display a message
$ exit # Exit the shell
-
-πŸ“‚ File Structure
-
-/project-root
-β”‚
-β”œβ”€β”€ main.c # Main shell implementation in C
-β”œβ”€β”€ README.md # Project documentation (this file)
-β”œβ”€β”€ Makefile # (Optional) For easy building
-└── /docs # (Optional) Additional documentation
-
-🐞 Known Issues
- β€’ The rmdir implementation currently lacks full recursion for nested directories.
- β€’ mv command implementation recreates the file instead of renaming it (should use rename() for efficiency).
- β€’ Limited error handling for edge cases in file operations.
- β€’ Only single argument handling for most commands (multi-word arguments may fail).
-
-πŸ’‘ Possible Improvements
- β€’ πŸ”„ Improve the move_files() function using rename() instead of delete-create flow.
- β€’ πŸ— Implement better error handling and user feedback.
- β€’ 🌐 Add support for multiple arguments and relative/absolute path processing.
- β€’ πŸ“œ Implement a command history feature.
- β€’ πŸ›  Add multi-threading for non-blocking commands.
-
-🀝 Contributing
- 1. Fork the repository.
- 2. Create your feature branch: git checkout -b feature/my-new-feature.
- 3. Commit your changes: git commit -am 'Add some feature'.
- 4. Push to the branch: git push origin feature/my-new-feature.
- 5. Submit a pull request.
-
-✍ Author
- β€’ Name: Abdellah El Morabit
- β€’ GitHub: nasrlol
- β€’ Language: C
- β€’ Focus: Low-level programming, system calls, file handling.
-
-βš– License
-
-This project is licensed under the MIT License - see the LICENSE file for details.
-
-Let me know if you want extra details (like examples or troubleshooting). 😊