Design and write a C filter which reads from standard input, replaces all the occurrences of the characters supplied in a command line argument with the corresponding characters in the second command line argument, and writes the result to the standard output; all other characters are to be written to output unchanged.
The extra command line option -f will make the program replace only the first occurrence of characters in the first command line argument with the corresponding character in the second command line argument.
Notes:
[login to view URL] can force any order of the command line arguments as you see fit.
[login to view URL] should attempt to read in blocks of characters, modify these blocks, then write them to the standard output rather than read one character at a time.
[login to view URL] the number of characters in the first argument differs from the number of characters in the second argument it is up to you to decide how to handle this situation, but be sure that you document it.
We are a team of 5 persons with an experience of 12+ years in this field. Our skill sets are C, C++, Java and .net. Given our experience in C, we are definite to complete your project in the given time.
Thanks and Regards
Usha K.V
Hi,
We can do this for you. You will be assured of timely delivery and fully documented rules/logic.
We look forward to working on this project.
Thanks and regards,
Vandana