Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(int argc, char **argv) {
- if (argc != 2) {
- printf("one file only");
- return (1);
- } else {
- for (size_t i = 0; argv[1][i] != '