[from now] 2014/08/11 16:11:31

diff --git a/.bashrc b/.bashrc
index d289ace..d591d4f 100644
--- a/.bashrc
+++ b/.bashrc
@@ -177,7 +177,7 @@ function __rm_single_file(){
        if ! [ $# -eq 1 ]
        then
                echo "__rm_single_file: 1 argument required but $# passed."
-               exit
+               return
        fi

        if [ -e $1 ]
@@ -196,6 +196,15 @@ function __rm_single_file(){
                echo "No such file or directory: $file"
        fi
 }
+
+function rep() {
+    if [ -z $1 ] ; then
+        return
+    fi
+    echo "replace $1 -> $2"
+    find . -type f | xargs sed -i "s/$1/$2/g"
+}
+
 #}}}

diff --git a/.vimrc b/.vimrc
index 5918d0d..7c49c02 100644
--- a/.vimrc
+++ b/.vimrc
@@ -481,5 +481,3 @@ endfunction

 "}}}

-
-