commit 8194c9bbf93f2a106870e14fa34c4ee0a2f0b0c9 parent 75094f44e6c8dc65cbf6ac9c680aae419538538d Author: phoebos <ben@bvnf.space> Date: Mon, 24 Jan 2022 20:21:55 +0000 ls: add note about bug Diffstat:
M | ls.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/ls.c b/ls.c @@ -449,6 +449,7 @@ main(int argc, char **argv) { if (ls(".") != 0) ret_val = 1; } + // TODO: if multiple separate files are given, they are not sorted (eg ls -lSr *.c) else while (*++argv) if (ls(*argv) != 0) ret_val = 1;