Skip to content

Commit

Permalink
3.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
neurobin committed Dec 20, 2015
1 parent 2dc6c1a commit 80a1f03
Show file tree
Hide file tree
Showing 34 changed files with 16,284 additions and 1,078 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,7 @@ Bug fix: inconsistency in reserved directory index.
4. Support for Latin conversion of indexes added.
5. Support for extended name string rules.
6. Support for extended name string rules of /pd/.

###`3.3.1`: <span class="light-quote">Sun Dec 20 18:52:22 UTC 2015</span>

1. size optimization
6 changes: 5 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
config/missing $(top_srcdir)/config/compile \
$(top_srcdir)/config/install-sh $(top_srcdir)/config/missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
Expand Down Expand Up @@ -244,6 +245,7 @@ ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
GREP = @GREP@
HAVE_CXX11 = @HAVE_CXX11@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
Expand Down Expand Up @@ -286,6 +288,8 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enable_arch_32 = @enable_arch_32@
enable_strip = @enable_strip@
exec_prefix = @exec_prefix@
host_alias = @host_alias@
htmldir = @htmldir@
Expand Down
27 changes: 13 additions & 14 deletions README
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<div id="description"></div>
# rnm
Bulk Rename Utility written in `C++`. Files and directories can be passed as command line arguments to rename them in bulk according to some naming scheme (*Name String*). If any file or directory path is not passed as command line argument, it will wait for user to type the path i.e it will take the path from standard input `(>=version 3.0.1)`. It uses `C++` regex (<a href="http://www.cplusplus.com/reference/regex/ECMAScript/">ECMAScript (aka JavaScript) regex</a>) as the default regex to provide search (and replace) functionality, other regex modes are available through (`-re`) option. It provides an undo functionality too to move back an unwanted rename operation. You can also run a simulation instead of actual rename to view the potential outcome as program output on terminal with the `-sim` option.


Expand Down Expand Up @@ -39,15 +38,15 @@ The install script depends on <span class="quote">Bash Shell</span>. If you don'

Aside from the above generalized method, you can also install it in Ubuntu from PPA (`ppa:neurobin/ppa`).

```
```sh
sudo add-apt-repository -y ppa:neurobin/ppa
sudo apt-get update
sudo apt-get install rnm
```

If you are in Ubuntu 14.04 or 12.04 (trusty or precise), you will need to add ubuntu-toolchain repository to make `libstdc++6 (>=4.9.2)` available:

```
```sh
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo add-apt-repository -y ppa:neurobin/ppa
sudo apt-get update
Expand All @@ -62,7 +61,7 @@ sudo apt-get install rnm
<div id="usage"></div>
#Usage:

```
```sh
rnm directory/file/path -ns new_name [other options]
rnm directory/file/path -rs "/search regex/replace string/gi" [other_options]
rnm directory/file/path -nsf namestring/file/path
Expand Down Expand Up @@ -228,23 +227,23 @@ Episode 1..., Episode 2..., etc...
**Keywords :**

* *uppercase* : means uppercase.
* *showpoint : show point regardless if it's an integer or floating point value.
* showbase : means show base (Hex or Oct).
* showpos : show + sign for positive numbers.
* right : adjust right.
* left : adjust left.
* internal : adjust internal.
* precision : set precision. Used like precision=value
* length : sets length. Used like length=value
* filler : sets filler. Used like filler=value
* *showpoint* : show point regardless if it's an integer or floating point value.
* *showbase* : means show base (Hex or Oct).
* *showpos* : show + sign for positive numbers.
* *right* : adjust right.
* *left* : adjust left.
* *internal* : adjust internal.
* *precision* : set precision. Used like precision=value
* *length* : sets length. Used like length=value
* *filler* : sets filler. Used like filler=value


Only invalid characters for a file or directory name is the path delimiter and the null character (`\0`).

<div id="examples"></div>
###Example:

```
```sh
rnm file -ns new_file
rnm file -rs "/f/F/" ( will replace f with F in the name, i.e new name will be: File)
rnm folder -ns "New Folder" -do (-do forces Directory only mode)
Expand Down
27 changes: 13 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<div id="description"></div>
# rnm
Bulk Rename Utility written in `C++`. Files and directories can be passed as command line arguments to rename them in bulk according to some naming scheme (*Name String*). If any file or directory path is not passed as command line argument, it will wait for user to type the path i.e it will take the path from standard input `(>=version 3.0.1)`. It uses `C++` regex (<a href="http://www.cplusplus.com/reference/regex/ECMAScript/">ECMAScript (aka JavaScript) regex</a>) as the default regex to provide search (and replace) functionality, other regex modes are available through (`-re`) option. It provides an undo functionality too to move back an unwanted rename operation. You can also run a simulation instead of actual rename to view the potential outcome as program output on terminal with the `-sim` option.


Expand Down Expand Up @@ -39,15 +38,15 @@ The install script depends on <span class="quote">Bash Shell</span>. If you don'

Aside from the above generalized method, you can also install it in Ubuntu from PPA (`ppa:neurobin/ppa`).

```
```sh
sudo add-apt-repository -y ppa:neurobin/ppa
sudo apt-get update
sudo apt-get install rnm
```

If you are in Ubuntu 14.04 or 12.04 (trusty or precise), you will need to add ubuntu-toolchain repository to make `libstdc++6 (>=4.9.2)` available:

```
```sh
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo add-apt-repository -y ppa:neurobin/ppa
sudo apt-get update
Expand All @@ -62,7 +61,7 @@ sudo apt-get install rnm
<div id="usage"></div>
#Usage:

```
```sh
rnm directory/file/path -ns new_name [other options]
rnm directory/file/path -rs "/search regex/replace string/gi" [other_options]
rnm directory/file/path -nsf namestring/file/path
Expand Down Expand Up @@ -228,23 +227,23 @@ Episode 1..., Episode 2..., etc...
**Keywords :**

* *uppercase* : means uppercase.
* *showpoint : show point regardless if it's an integer or floating point value.
* showbase : means show base (Hex or Oct).
* showpos : show + sign for positive numbers.
* right : adjust right.
* left : adjust left.
* internal : adjust internal.
* precision : set precision. Used like precision=value
* length : sets length. Used like length=value
* filler : sets filler. Used like filler=value
* *showpoint* : show point regardless if it's an integer or floating point value.
* *showbase* : means show base (Hex or Oct).
* *showpos* : show + sign for positive numbers.
* *right* : adjust right.
* *left* : adjust left.
* *internal* : adjust internal.
* *precision* : set precision. Used like precision=value
* *length* : sets length. Used like length=value
* *filler* : sets filler. Used like filler=value

Only invalid characters for a file or directory name is the path delimiter and the null character (`\0`).

<div id="examples"></div>
###Example:

```
```sh
rnm file -ns new_file
rnm file -rs "/f/F/" ( will replace f with F in the name, i.e new name will be: File)
rnm folder -ns "New Folder" -do (-do forces Directory only mode)
Expand Down
1 change: 1 addition & 0 deletions aclocal.m4
Original file line number Diff line number Diff line change
Expand Up @@ -1147,3 +1147,4 @@ AC_SUBST([am__tar])
AC_SUBST([am__untar])
]) # _AM_PROG_TAR

m4_include([m4/ax_cxx_compile_stdcxx.m4])
19 changes: 18 additions & 1 deletion autom4te.cache/output.0
Original file line number Diff line number Diff line change
Expand Up @@ -3555,7 +3555,9 @@ else
fi


CXXFLAGS="$CXXFLAGS -std=c++0x"

#check for c++11 support and add flags
AX_CXX_COMPILE_STDCXX(11, noext, mandatory)

# Checks for libraries.

Expand Down Expand Up @@ -6134,3 +6136,18 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi



cat <<EOF

configuration summary:

Install prefix .................. : ${prefix}
C preprocessor .................. : ${CC}
C compiler ...................... : ${CXX}
Linker .......................... : ${LD}
C preprocessor flags ............ : ${CXXFLAGS}
C compiler flags ................ : ${CXXFLAGS}

EOF

Loading

0 comments on commit 80a1f03

Please sign in to comment.