Skip to content

lebao3105/Commands-collection

Repository files navigation

Commands-collection

Build status: Nightly CI

A collection of system commands written in Free Pascal.

They are:

  • Programs put in src (sorry but I'm too lazy to update the list manually);
  • UNIX-only (for now) programs that are seen in daily computer life
  • Proof-of-concept (POC)s

They are NOT:

  • Copycats (although some are intended to behave like original counterparts)
  • Made to be laughed at
  • Suitable for daily-use
  • Fully optimized (atm)
  • Object-oriented (although some like TRegExpr is used sometimes)
  • Battle-tested

Building

Setup

Go install:

  • FPC (Free Pascal Compiler) 3.x
  • A C compiler - required C Standard version is unclear, but target C23 if you can
  • Git, to show the repository's revision in program's -V

Build

Read this.

Run

All programs are set to be placed in build/bin/<target cpu+os>.

The universal usage documentation is here.

Credits

  • @ikelaiah for cli-fp library. Part of it is used and modified.
  • Everyone who made resources for us to refer

References

TODO

  • Complete existing commands
  • Add man pages?
  • Fix CI uploading - it's never been done properly
  • Add tests
  • If needed: add C. For example, there is no stdin or stdout in Pascal (I'm stupid, they are placed in system unit)
  • Improve the program's performance
  • Handle errors nicely
  • Unicode support

About

A collection of various system commands in Pascal

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published