Changelog for remembering.
Unreleased
0.3.0 - 2022-11-25
Added
Inference of profiles
Changed
Remove -c COMMAND option
Instead of requiring a -c COMMAND option explicitly, instead receive the
commands to be ran as the "rest" argument to remembering, stored in $@. The
usage changes from:
$ remembering -p a-profile -c 'command $arg1 arg2'
to:
$ remembering -p a-profile -- command $arg1 arg2
The upsides are:
1. no need to worry about nested quotes: requiring a -c COMMAND option forced
one to wrap the command and args inside quotes, and the quotation used
influenced the command to be ran;
1. one less option to know about: instead of having to remember what is the
specific letter used for the command, just prefix the command with
remembering;
1. simpler and more powerful composition: wrapping commands without quoting them
allows one to use many of such tools in combination:
$ time nice -n10 timeout 3 remembering sleep 5
The equivalent with -c COMMAND would be:
$ time -c 'nice -n10 -c "timeout 3 -c 'remembering -c "sleep 5"'"'
But instead of alternating between single and double quotes, properly quoting them at each level.
Fixed
Improve speed
Rewrite to make it faster
Changed
Use of $XDG_DATA_HOME
When the environment variable $XDG_DATA_HOME is defined, remembering now
appends a trailing /remembering to it instead of start writing files to where
the environment variable points to.
This is in conformance with the XDG Base Directory Specification.
Exit code
When remembering encounters an unrecognized option, it now exits with 2 instead of ignoring it.
0.2.1 - 2021-02-23
Removed
Revert to plain Makefile over ./configure + Makefile.in.
0.2.0 - 2021-02-21
Added
Add trivial ./configure script.
Changed
Assume standard input is already sorted for faster processing.
0.1.2 - 2021-01-26
Fixed
Replace usage of GNU Coreutils' specific tac utility with sed.
0.1.1 - 2021-01-26
Fixed
Allow names with spaces.
0.1.0 - 2021-01-26
Added
Initial public release.
