Skip to content

Latest commit

 

History

History
148 lines (147 loc) · 6.51 KB

CHANGELOG.md

File metadata and controls

148 lines (147 loc) · 6.51 KB

fix-digits changelog

Version Date Description
0.2.2 2024-06-28

Fixed a bug that prevented renaming of identically numbered files. This currently does not work when reordering (-o, --reorder). If such a reordering is attempted, an error message suggesting a workaround is shown: Reordering identically numbered files is not supported. To work around this, split the file set into batches in which numbers do not repeat, and reorder each batch separately.. Then the program exits.

0.2.1 2024-06-17

Fixed the default prompt reply not working (when -x, --reorder-file-clear-temporary is set to prompt).

0.2.0 2024-06-12

NEW: Added the following major functionality:

  • Reordering
  • Incrementing or decrementing numbers
  • Removing gaps in numbers

Added the following new options:

  • -p, --print-cmd / -P, --no-print-cmd
  • -g, --preserve-gaps / -G, --no-preserve-gaps
  • -s, --shift / -S, --no-shift
  • -z, --zero-pad / -Z, --no-zero-pad, -n, --zero-pad-normalize / -N, --zero-pad-no-normalize
  • -o, --reorder / -O, --reorder, -f, --reorder-file, -k, --reorder-file-keep-temporary / -K, --reorder-file-no-keep-temporary, -e, --reorder-file-edit / -E, --reorder-file-no-edit, -m, --reorder-file-gaps-compact / -M, --reorder-file-gaps-no-compact, --editor
  • --match-sign / --no-match-sign

BREAKING: Some options were renamed:

  • Renamed -r, --rename to -r, --run (for consistency with reln and unln).
  • Renamed -b, --before to -b, --match-before, and -b, --after to -b, --match-after for clarity and consistency in organization of option names.

GNU sed is now again a dependency, but with a different purpose compared to when it was removed in v0.1.2.
The Not renaming <old> -> <new>. <new> already exists and Some files were not renamed because other files with the same name already existed. warning messages are now error messages, and the latter now also lists the files that stood in the way.

0.1.3 2024-06-09

Specified end of options (--) for the mv command to prevent problems renaming files whose name starts with a hyphen.

Updated copyright year.

0.1.2 2024-06-01

Eliminated the limitation on using capture groups in regular expressions set with -b, --before and -a, --after.

Removed a redundancy in the regular expression for matching filenames.

0.1.1 2024-05-26

CRITICAL: Fixed a bug where the check for already existing files was only performed for regular files, but not directories.
Fixed a bug which would result in incorrect handling of files located in the root directory (/) if passed as absolute paths (/1-file /2-file ...).
Duplicate forward slashes in paths are now removed as appropriate.

Improved the method of quoting strings for displaying them in messages. All instances of using \'"${parameter//\'/\'\\\'\'}"\' were replaced with "${parameter@Q}".
Improved code for the Use of capture groups in regular expressions set with `-b, --before` and `-a, --after` is not allowed error message. Removed sed dependency.

Improved formatting of the built-in help message.
Added information about dependencies to README.
Added a changelog.

Removed a superfluous IFS=' ' from the getopt line.
Removed a superfluous : on the line preceding the mv command.

0.1.0 2024-02-07

Initial release.