Skip to content

Latest commit

 

History

31 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GrepR

grep recreation as an exercise

-regex should be in perl style

include order:

unistd.h->grepr_lib.h((stdfun.h||asmfun.h)->regex_lib.h(...)->grepr_glob.h->grepr_fun.h)->grepr.c

_main(...):

-initialization

	-initilize strm

	-set strm.in->fd=1

	-set file *out

	-initialize gegex

-proccess flags

	-check if ==argc-1

	-if -f flag

		-change strm.in->fd
	
-process regex

	-check syntax

	-set gegex.num

-setup for fist Alliteration of loop

-do loop

	-parse regex

		-if gegex.index==gegex.num
	
			-print
		
	-readin

-while readin!=EOF (signed int -1)

_parse_regex()

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages