Help for this page

Select Code to Download


  1. or download this
        perl -MO=Deparse wc.c > deparse.pl
    
  2. or download this
        gcc wc.c -E > wc.txt
    
  3. or download this
    # note the comma. This will unshift the first command line
    # argument onto @ARGV and set $_
    ...
    {
        printf "%7d %7d %7d total\n", $i[7], $i[6], $i[8];
    }
    
  4. or download this
    #include <sys/types.h>
    #include <sys/stat.h>
    ...
        printf("%7d %7d %7d total\n",i [7],i [6],i [8]);
      }
    }