3 ms·
GNU sleep is around 150 loc, and does significantly less...
by zokier 10y ago
GNU sleep is around 150 loc, and does significantly less...
- glandium 10y agoGNU programs are not a reference. They must have usage(), and handle --help and --version. Even /bin/true. coreutils-8.25$ wc -l src/true.c 80 src/true.c
- liviu- 10y agoDing has `--version`, and a help message too :P To be honest, a big chunk of it is just handling user input and attempting to provide useful error messages.