Hey,

On Fri Dec 13, 2024 at 6:12 PM CET, Marc Chantreux wrote:
> Another non-POSIX feature I really like is the date -f- and the hability
> to write dates like: 'last week', 'next month' ' 1jan + 14 days'. I
> always fall back on C when I use busybox.

Once upon a time, I made quite a few changes to sbase, and added a few tools.

Here's: https://codeberg.org/Eolien55/sbase

I think I'll try to do this precisely. That is, add OpenBSD-like strptime
functionality (1), modify -d flag to be in accord with this (2), and add
modifiers like '+', 'next', and so on and so forth.

Maybe I'll try re-sending those patches. Last time, we had a discussion
on the scope of sbase. But I think some patches are still relevant nonetheless
(the cron one in particular).

Cheers,
Elie Le Vaillant

Reply via email to