Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 630 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 630 Bytes

wcarm64

A port of wcx64 to Apple Silicon.

wcarm64 is a simplistic wc clone in ARM64/AArch64/Apple Silicon assembly. Usage:

    $ wcarm64 /tmp/1 /tmp/2 /usr/share/dict/words
              0          1          2    /tmp/1
              2          5         23    /tmp/2
          99171      99171     938848    /usr/share/dict/words
          99173      99177     938873    total

When not given any command-line arguments, reads from stdin:

    $ wcarm64 < /tmp/2
              2          5         23

Always prints the all three counters: line, word, byte.