For details about ls - Wiki
Syntax: ./uls [-flag (optional)] [directory_name1, ..., directory_nameX (optional, if no directory specified, current working directory is taken)]
Features implemented:
- -a flag - show all directories (also hidden - those, which start with dot)
- -A flag - show all directories, except . and ..
- -R flag - recursively lists the content of cwd and all subdirictories.
- -m flag - list the content of directory in comma separated style.
- -p flag - Write a slash (`/') after each filename if that file is a directory.
- -1 flag - Force output to be one entry per line. This is the default when output is not to a terminal.
- -C flag - Force multi-column output; this is the default when output is to a terminal.
- -o flag - List in long format, but omit the group id.
- -g flag - it is used to display the group name in the long (-l) format output (the owner name is suppressed).
- -d flag - Directories are listed as plain files (not searched recursively).
- To compile write `make` in root directory.
- Compilation was done on MacOS. Other OS were not tested.