Guest User

Untitled

a guest
Jun 20th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. Here, placed side-by-side for comparison, are GNU's implementation of cat, Plan
  2. 9's implementation, Busybox's implementation, and NetBSD's implementation.
  3.  
  4. All cat.c files (renamed by prefixing the source) are presented, unaltered and
  5. in their entirety. Note how easy it is to read and understand plan9-cat.c (it
  6. should take less than a couple of minutes possibly even for coders that don't
  7. know C). Other than that, I think the files speak for themselves.
  8.  
  9. Keep in mind while reading that the cat utility's purpose is to concatenate
  10. files.
  11.  
  12. Lastly, here are the line counts, sorted:
  13. 35 plan9-cat.c
  14. 48 busybox-cat.c
  15. 316 netbsd-cat.c
  16. 782 gnu-cat.c
  17. 1181 total
Add Comment
Please, Sign In to add comment