README 915 B

1234567891011121314151617181920212223
  1. Example commands
  2. You probably don't want to deploy any of this.
  3. The hello.c and skeleton.c commands provide templates for new commands. When
  4. writing a new command, copying hello.c or skeleton.c to the new name may provide
  5. a good starting point. (The minimal staring point is toys/posix/false.c)
  6. - hello.c is clean and simple, and an easy way to check the behavior of
  7. toybox library functions running in command context.
  8. - skeleton.c demonstrates the option parsing infrastructure and having
  9. multiple commands per file.
  10. Some of the commands in here are test infrastructure:
  11. - logpath.c is optionally used by mkroot.sh and scripts/record-commands
  12. - demo_* demonstrates infrastructure, allowing tests/demo_*.test to
  13. regression test library functions directly.
  14. hostid.c is an obsolete command still in posix and present on some recent
  15. Linux systems, but not really useful on modern systems.