Skip to content

at40493/practice-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

practice-git

Makefile - Use make command to makefile.(Input: input.txt, Output: output.txt)
homework.c - Main program, use stdin to input data, and it have add, 
		 insert, append and del option, print the output result to stdout.
list.h - The <linux/list.h> header v4.18.14.
list_private.h - Define the functions and struct for list.h
operator.h - Define the function interface and struct.
operator.c - Implement the operator functions.

Usage:

cat <input file> | ./<program name> > <output file>

Input file command:

add <str>:把str加到link list的尾巴
insert <match> <str>: 在找到的match前,加入str
append <match> <str>: 找到的match後,加入str
del <str>: 在link list中,找到str,並刪除

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published