Skip to content

Project to write your own implementation of cat and grep in C

Notifications You must be signed in to change notification settings

SolutionOP/SimpleBash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Simple Bash Utils

Part 1. Working with the cat utility

You need to develop a cat utility:

  • Support of all flags (including GNU versions) specified above
  • The source, header, and build files must be placed in the src/cat/ directory
  • The resulting executable file must be placed in the directory src/cat/ and named s21_cat

Part 2. Working with grep utility

You need to develop the grep utility:

  • Support of the following flags: -e, -i, -v, -c, -l, -n
  • Only pcre or regex libraries can be used for regular expressions
  • The source, header and make files must be placed in the src/grep/ directory
  • The resulting executable file must be placed in the directory src/grep/ and named s21_grep

Part 3. Bonus. Implementation of some grep utility flags

Bonus assignment for extra points. You need to develop the grep utility:

  • Support of all flags, including: -h, -s, -f, -o
  • Only pcre or regex libraries can be used for regular expressions
  • The source, header and make files must be placed in the src/grep/ directory
  • The resulting executable file must be placed in the directory src/grep/ and named s21_grep

About

Project to write your own implementation of cat and grep in C

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published