Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marob05/unixutils
A series of projects where I implement Unix utilities in C from scratch. Additionally I explore various implementations (if possible)
https://github.com/marob05/unixutils
cprogramming-language linux unix utilities
Last synced: 19 days ago
JSON representation
A series of projects where I implement Unix utilities in C from scratch. Additionally I explore various implementations (if possible)
- Host: GitHub
- URL: https://github.com/marob05/unixutils
- Owner: MaroB05
- Created: 2024-11-08T16:33:03.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-02T01:44:53.000Z (about 1 month ago)
- Last Synced: 2024-12-02T02:37:44.130Z (about 1 month ago)
- Topics: cprogramming-language, linux, unix, utilities
- Language: C
- Homepage:
- Size: 2.26 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# myUNIX Utilities
A collection of simple UNIX utilities implemented in C.
## Utilities
### mcat
A minimal implementation of the `cat` command, which reads and displays the contents of one or more files.
### mgrep
A simple implementation of the `grep` command, which searches for a pattern in one or more files and displays the matching lines.
### helperFunctions
A library of helper functions used by the above utilities, providing functionality for file I/O, string manipulation, and more.
## Usage
### mcat
* Compile: `gcc ../helperFunctions/functions.c mcat.c -o mcat`
* Run: `./mcat file1 file2 ...`### mgrep
* Compile: `gcc m../helperFunctions/functions.c grep.c -o mgrep`
* Run: `./mgrep pattern file1 file2 ...`## Contributing
Contributions are welcome! If you'd like to add a new utility or improve an existing one, please submit a pull request.
## License
This project is licensed under the [MIT License](https://opensource.org/licenses/MIT).