Hey guyz, I'm stuck with this given, its bit hard I cant understand it just wonna know the logic ( no codes).
Its saying write a C program which read from standard input, replaces all the occurrences of the characters by the first command line argument, with the corresponding characters supplied by the second command line argument, and writes the output to a file supplied by the 3rd command line argument, then print out the file.
NB:
1- you should attempt to read in blocks of charz, change these blocks and write them to file rather than read on char at a time
2- if the 1st number of characters in the first argument are different then the number of chars in the second argument, its up to you how to handle this situation.