Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //wc
- CountWhat what;
- Console.WriteLine(tools.Wc(filename, what));
- //grep
- List <string> Lines = tools.Grep(filename, searchText);
- while (i < Lines.Count)
- {
- Console.Write(Lines[i]);
- i++;
- }
- //definition of what :
- public enum CountWhat
- {
- l = 0,
- w = 1
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement