]> Kevux Git Server - kevux-tools/commit
Progress: Continue working on completing the remove program.
authorKevin Day <Kevin@kevux.org>
Sun, 30 Mar 2025 03:12:49 +0000 (22:12 -0500)
committerKevin Day <Kevin@kevux.org>
Sun, 30 Mar 2025 03:12:49 +0000 (22:12 -0500)
commit26a9aa85b0744bd4c9df15e5cd4b2ad9b88a5975
treea9a92cdf1e7cb0ad2464f9204c70aab003c3f154
parent2cfb0d551ee3ae15a937ba49c2a934063ccee39c
Progress: Continue working on completing the remove program.

Implement most of the `rm` program.
There are some remaining details and I need to also test the program.

Move some of the repeated setup code into `kt_remove_setting_load_standard()`.

Add the initial settings needed to support the `--preserve-root` and `--presserve-root-not` support via the newly added `root` flag.
This work is not yet implemented and needs to be completed.

Add support for all programs to return `2` instead of `1` when `F_support_not` is an error return to the main program.
I might end up applying this behavior to all of my FLL and related programs.

The `rm` program in particular has the `--` being manually processed.
I figured given the simple nature of this program that it would be easier to manually pre-process than to utilize the custom callbacks supported by the `f_console_parameter_process()`.
22 files changed:
data/build/fakefile
sources/c/program/kevux/tools/remove/main/common.c
sources/c/program/kevux/tools/remove/main/common.h
sources/c/program/kevux/tools/remove/main/common/define.h
sources/c/program/kevux/tools/remove/main/print/message.c
sources/c/program/kevux/tools/remove/remove/main.c
sources/c/program/kevux/tools/remove/rm/enumeration.h
sources/c/program/kevux/tools/remove/rm/main.c
sources/c/program/kevux/tools/remove/rm/print.c
sources/c/program/kevux/tools/remove/rm/print.h
sources/c/program/kevux/tools/remove/rm/rm.c
sources/c/program/kevux/tools/remove/rm/rm.h
sources/c/program/kevux/tools/remove/rm/string.c
sources/c/program/kevux/tools/remove/rm/string.h
sources/c/program/kevux/tools/remove/rmdir/main.c
sources/c/program/kevux/tools/remove/rmdir/print.c
sources/c/program/kevux/tools/remove/rmdir/rmdir.c
sources/c/program/kevux/tools/remove/rmdir/rmdir.h
sources/c/program/kevux/tools/remove/rmdir/string.h
sources/c/program/kevux/tools/remove/unlink/main.c
sources/c/program/kevux/tools/remove/unlink/unlink.c
sources/c/program/kevux/tools/remove/unlink/unlink.h