Skip to content
/ lsmim Public

little C program that imitates 'ls' / prints information about files and directories

Notifications You must be signed in to change notification settings

mikeyjk/lsmim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lsmim

clone of 'ls' from GNU Core Utilities.


Takes 1 directory over cli or the current working directory is assumed. 1 flag option currently '-s' which provides a simplified listing format.

It is fairly verbose without -s, so as to meet the requirements of an ICT310 project.

to do:

  • break program into smaller chunks
  • create unit test for use with failtest

Finally added some unit testing, using the 'criterion' library

https://github.com/Snaipe/Criterion

Notes for criterion on debian, currently not supported via apt, so instead:

  • download the latest release
  • bzip2 -d *
  • tar -xvf *
  • preserve symlinks/copy criterion/lib into /usr/lib
  • copy criterion/include/criterion to /usr/include

About

little C program that imitates 'ls' / prints information about files and directories

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published