This is my version of ls with implemented flags: -l, -R, -t, -h, --version, --help. The program is fully working and tested on several different linux distros.
git clone https://github.com/guzlewski/ls
cd ls
make
./ls.out [OPTIONS] [PATH]
Available options:
-l - display long format
-R - list subdirectories recursively
-t - sort files by last modified date, newest first
-h - print file size in human-readable format (K, M, G, T, P)
--version - print information about version and author
--help - print available commands
Lists current directory by default.