sortix-mirror/utils
Jonas 'Sortie' Termansen 328f4e1fd6 Add features to ls(1) and fix implementation issues.
New options:

  -1   Disable columnizing.

  -c   Sort by file status change time.

  -C   Column directory entries.

  -h   Show file sizes with magnitude suffixes such as 42.3K.

  -r   Sort entries in the opposite order.

  -R   Recursively list directory contents.

  -S   Sort by file size in decreasing order.

  -u   Sort by access time.

  --color=always|auto|never
       Control whether colorizing is enabled.

The output is now natively columnized instead of running a column(1)
subprocess. Multiple operands are now implemented correctly (directory
contents are columned separately rather than their concatenation, the name
of each directory is printed prior to its content, ...). The file owner and
group names are now shown rather than a hard-coded root. Long listings are
now properly aligned. Mixing file and directory operands works correctly
now. Columnizing is now vertical rather than across. Clean up the source
code and remove cruft. Stat information on directory entries are read once
only now, which which fixes an incosistent sort race condition when sorting
according to lstat. Move to the openat paradigm.
2016-01-26 17:45:06 +01:00
..
.gitignore Add chkblayout(1). 2015-12-19 02:49:37 +01:00
Makefile Add chkblayout(1). 2015-12-19 02:49:37 +01:00
basename.cpp Add basename(1). 2014-11-01 21:33:48 +01:00
cat.cpp Update command line parsing to current coding conventions. 2015-12-12 19:28:07 +01:00
chkblayout.cpp Add chkblayout(1). 2015-12-19 02:49:37 +01:00
chmod.cpp Add chmod(1). 2014-10-28 20:16:51 +01:00
chroot.cpp Fix unintended extra fork in chroot(1). 2015-12-12 16:53:42 +01:00
chvideomode.cpp Fix uninitialized variable in chvideomode option parsing. 2015-12-23 17:22:41 +01:00
clear.cpp Update copyright headers of old files to the current format. 2013-12-17 14:30:23 +01:00
colormake.cpp Add colormake support for cc and c++. 2016-01-25 17:42:26 +01:00
column.cpp Fix wrong type in calloc sizeof. 2016-01-08 00:46:44 +01:00
command-not-found.cpp Add command-not-found utility. 2013-12-17 14:30:46 +01:00
cp.cpp Update command line parsing to current coding conventions. 2015-12-12 19:28:07 +01:00
date.cpp Add date(1). 2013-12-17 14:30:35 +01:00
dirname.cpp Add dirname(1). 2014-11-01 21:33:49 +01:00
du.cpp Update command line parsing to current coding conventions. 2015-12-12 19:28:07 +01:00
echo.cpp Dumb down echo(1). 2015-08-22 00:44:39 +02:00
env.cpp Update command line parsing to current coding conventions. 2015-12-12 19:28:07 +01:00
expr.cpp Add regex(3). 2015-12-17 23:32:43 +01:00
false.cpp Add false(1) and true(1). 2013-12-19 17:42:07 +01:00
find.cpp Add find(1) symbolic link support. 2016-01-25 17:42:25 +01:00
head.cpp Update copyright headers of old files to the current format. 2013-12-17 14:30:23 +01:00
help.cpp Update help program to search PATH. 2013-12-17 14:30:33 +01:00
id.cpp Add id(1). 2015-08-26 21:35:11 +02:00
kernelinfo.cpp Update command line parsing to current coding conventions. 2015-12-12 19:28:07 +01:00
kill.cpp Add kill(1). 2015-12-12 19:28:07 +01:00
ln.cpp Add ln(1) target directory support. 2016-01-25 17:42:25 +01:00
ls.cpp Add features to ls(1) and fix implementation issues. 2016-01-26 17:45:06 +01:00
memstat.cpp Replace userland perror calls. 2015-08-26 18:10:24 +02:00
mkdir.cpp Fix broken unknown short option reporting. 2016-01-07 19:17:04 +01:00
mktemp.cpp Add mktemp(1). 2015-08-26 17:49:28 +02:00
mv.cpp Update command line parsing to current coding conventions. 2015-12-12 19:28:07 +01:00
pager.cpp Add pager(1) -rR options. 2015-12-12 19:28:08 +01:00
ps.cpp Add ps(1). 2015-12-12 19:28:07 +01:00
pstree.cpp Add pstree(1). 2015-12-12 19:28:07 +01:00
pwd.cpp Update command line parsing to current coding conventions. 2015-12-12 19:28:07 +01:00
realpath.cpp Add realpath(1). 2015-10-01 22:50:51 +02:00
rm.cpp Fix broken unknown short option reporting. 2016-01-07 19:17:04 +01:00
rmdir.cpp Fix broken unknown short option reporting. 2016-01-07 19:17:04 +01:00
sleep.cpp Add sleep(1). 2014-11-26 23:34:14 +01:00
sort.cpp Fix sort(1) reverse sort not working. 2015-06-27 17:06:43 +02:00
stat.cpp Add stat(1). 2015-12-12 19:28:07 +01:00
tail.cpp Update command line parsing to current coding conventions. 2015-12-12 19:28:07 +01:00
time.cpp Use signal handlers in time(1) instead of process groups. 2015-12-12 19:28:08 +01:00
tr.cpp Fix tr buffer overrun and shadowed delete array. 2015-12-12 16:53:42 +01:00
true.cpp Add false(1) and true(1). 2013-12-19 17:42:07 +01:00
type.cpp Update command line parsing to current coding conventions. 2015-12-12 19:28:07 +01:00
uname.cpp Fix broken unknown short option reporting. 2016-01-07 19:17:04 +01:00
uniq.cpp Fix getdelim(3). 2015-05-15 16:18:40 +02:00
unmount.cpp Add unmount(1). 2014-12-26 21:45:29 +01:00
uptime.cpp Obsolete uptime(2). 2013-12-17 14:30:34 +01:00
wc.cpp Update command line parsing to current coding conventions. 2015-12-12 19:28:07 +01:00
which.cpp Fix broken unknown short option reporting. 2016-01-07 19:17:04 +01:00
xinstall.cpp Improve cp(1). 2014-11-27 01:36:52 +01:00
yes.cpp Add yes(1). 2014-12-03 15:20:03 +01:00