Skip to content

Vladddd46/uls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My re-implementation of unix ls utility

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).

Compilation

  • To compile write `make` in root directory.
  • Compilation was done on MacOS. Other OS were not tested.

Overview

ezgif com-video-to-gif (1)

About

Reimplementation of unix ls utility.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published