-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add basic ls implementation #31
Conversation
003cb94
to
6aea992
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add the macros for the command info. checkout echo for details on this
use strerror instead of a switch for errno.
preferably do not use __attribute__((nonnull))
and does kind of stuff
Add copyright notice to manpage
format the code with clang-format if not formated.
thx ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all good :D thx
Based on my
ls
school project source, I recreated a smallls
utility that features the following flags:a
: do not ignore entries starting with.
l
: use a long listing formatR
: list subdirectories recursivelyd
: list directories themselves, not their contentsr
: reverse order while sortingt
: sort by time, newest first