Skip to content

Commit

Permalink
3.0 (20200625)
Browse files Browse the repository at this point in the history
    - Fixed copyright messages (actual years of publication, not range of years)
    - Replaced link/unlink with rename for file systems that can't do hard links
    - Fixed bug: Removing directories when -f only worked if no dotfiles therein
    - Always quote file/directory names in messages if needed (was inconsistent)
    - Added self-identifying and legal information to the help message
    - Added standard --help and --version command line options
    - Changed README to README.md
    - Changed regular expression separator used from "|" to Ctrl-A
    - Added rigorous tests (run-tests or make test or make check)
    - Fixed bug when skipping (i.e. when dst and src are the same)
    - Documented lack of support for [^] complement character classes
    - Added very limited support for {,} multiple glob patterns
    - Added checks for invalid use (e.g. too many dst patterns)
    - Increased -b default from 4 to 16 (just in case / why not?)
    - Added mved.1 to dist (for installation without pod2man)
    - Fixed inability to handle Ctrl-A re separator in src and dst
    - Quote all irrelevant perl regexp meta-characters
    - Fixed manpage headers and footers
    - Ensure Perl compatibility from Perl 5.6 to (probably) Perl 7
    - Make pathological glob patterns fast when possible
  • Loading branch information
raforg committed Jun 25, 2020
1 parent 28e1f0b commit fd84356
Show file tree
Hide file tree
Showing 9 changed files with 2,494 additions and 258 deletions.
76 changes: 76 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
CHANGELOG
=========

3.0 (20200625)

- Fixed copyright messages (actual years of publication, not range of years)
- Replaced link/unlink with rename for file systems that can't do hard links
- Fixed bug: Removing directories when -f only worked if no dotfiles therein
- Always quote file/directory names in messages if needed (was inconsistent)
- Added self-identifying and legal information to the help message
- Added standard --help and --version command line options
- Added CHANGELOG, COPYING, INSTALL, LICENSE files
- Changed README to README.md
- Changed regular expression separator used from "|" to Ctrl-A
- Added rigorous tests (run-tests or make test or make check)
- Fixed bug when skipping (i.e. when dst and src are the same)
- Documented lack of support for [^] complement character classes
- Added very limited support for {,} multiple glob patterns
- Added checks for invalid use (e.g. too many dst patterns)
- Increased -b default from 4 to 16 (just in case / why not?)
- Added mved.1 to dist (for installation without pod2man)
- Fixed inability to handle Ctrl-A re separator in src and dst
- Quote all irrelevant perl regexp meta-characters
- Fixed manpage headers and footers
- Ensure Perl compatibility from Perl 5.6 to (probably) Perl 7
- Make pathological glob patterns fast when possible

2.2 (20111027)

- Fixed bug: Removing directories when -f only worked if empty
- Added warning messages when failing to rename/link/unlink
- Made reverting after failure slightly faster
- Improved fatal/debug/verbose messages

2.1 (20091105)

- Only put quotes around src glob when it contains a space

2.0 (20080307)

- Put quotes around src glob to handle spaces
- Limit explicit =#= patterns to a single-digit
- Improved debug/verbose/testing messages

1.1 (20060124)

- Added one-line program description to -h output
- Improved cleanup after pod2html
- Minor reformatting

1.0 (20030901)

- Find perl via /usr/bin/env (not hard-coded)
- Added copyright notice
- Added -h option to print the help message
- Added -m option to print the manpage
- Added -w option to print the manpage as HTML
- Added -r option to print the manpage as nroff
- Use glob() instead of /bin/ls
- Check for and disallow "|" in patterns
- Added more debug messages
- Handle directories as well
- Added Makefile
- Added README

0.1 (19970712)

- Initial version

--------------------------------------------------------------------------------

URL: http://raf.org/mved
GIT: https://github.com/raforg/mved
Date: 20200625
Author: raf <raf@raf.org>

26 changes: 26 additions & 0 deletions COPYING
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
COPYING
=======
mved - carefully rename multiple files and directories

Copyright (C) 1997, 2003, 2006, 2008-2009, 2011, 2020 raf <raf@raf.org>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, see <https://www.gnu.org/licenses/>.

--------------------------------------------------------------------------------

URL: http://raf.org/mved
GIT: https://github.com/raforg/mved
Date: 20200625
Author: raf <raf@raf.org>

48 changes: 48 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
INSTALL
=======
Mved is written in Perl and should run on any system with perl(1).
There are no dependencies on any non-standard Perl modules.

To install mved and its manpage (under /usr/local by default):

tar xzf mved-X.Y.tar.gz
cd mved-X.Y
make install

To install under /usr:

make PREFIX=/usr install

To uninstall mved and its manpage (from under /usr/local):

make uninstall

To uninstall mved and its manpage (from under /usr):

make PREFIX=/usr uninstall

To run the tests:

make test
make check

For more details:

make help

The manpage for mved is mved(1).

REQUIREMENTS
============
Requires GNU make to install (but manual installation is easy).
Requires perl (but no non-standard perl modules).
Requires pod2man (comes with perl) to make the manpage.
Requires pod2html (comes with perl) to make the html manpage.

--------------------------------------------------------------------------------

URL: http://raf.org/mved
GIT: https://github.com/raforg/mved
Date: 20200625
Author: raf <raf@raf.org>

Loading

0 comments on commit fd84356

Please sign in to comment.