- The given C++ program parses a given command-line-interface string into tokens.
- The program repeatedly prompts the user to enter a string until the user doesn’t enter QUIT
- The program identifies special characters for piping, redirecting, etc.
- The program then outputs the number of tokens and the input command given.
- How to run this program? • Start the Command prompt in your Void Linux VM • Go to the directory where this program is stored using the command cd • Run the command “g++ CLIparseAndTokenizer.cpp –o output” • This creates an output file named output • Now to execute this program run the command ./output • The program then asks the user to enter the command to be parsed or QUIT to exit the program.
- This creates an executable file in the present working directory.
-
Notifications
You must be signed in to change notification settings - Fork 0
dedhia-krupali/CLIparsetokeniser
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description or website provided.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published