项目作者: tpan

项目描述 :
Implementation of the unix command 'ls'
高级语言: C
项目地址: git://github.com/tpan/ft_ls.git
创建时间: 2017-03-23T03:27:36Z
项目社区:https://github.com/tpan/ft_ls

开源协议:

下载


ft_ls

My implementation of the unix command ‘ls’ to list the contents of directories.

The only dependencies are:

  • GNU Make
  • GCC

Usage:

Run ./ft_ls instead of ls after you have built the source code.
Can be run with any of the following flags:

  1. -l For long format listing and additional information
  2. -r Reverse sort
  3. -t Displays newest files first (By date of modification)
  4. -R Recursively displays files and subdirectories
  5. -a Displays hidden files.

Notes

  • The instructions for this project are here, we are limited in our use of functions:
    ft_ls @42US
  • Lack of comments is something i would improve upon.
  • I also disagree with norm compliant comments, I prefer them to be inline but that goes against the norm 42Norm