summaryrefslogtreecommitdiffstats
path: root/bin/viod
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2010-12-16 19:05:52 +0100
committerStefan Ritter <xeno@thehappy.de>2010-12-16 19:05:52 +0100
commitcd0869586452a5f0918158c16d1616140579e618 (patch)
tree671691b24cfd77e910b2bc11c09b0c095cdede78 /bin/viod
parentcf36cf00a08be053347409701f207efb112dfe27 (diff)
Remove viod
Diffstat (limited to '')
-rwxr-xr-xbin/viod17
1 files changed, 0 insertions, 17 deletions
diff --git a/bin/viod b/bin/viod
deleted file mode 100755
index 8bb4c21..0000000
--- a/bin/viod
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-editor=vi
-
-if [ $# -eq 0 ]
-then
- echo "usage: `basename $0` file"
- exit 1
-fi
-
-file=$1
-
-timestamp=`stat -c %y "$file" | cut -d. -f1 | cut -d" " -f1 | awk -F- '{print $1 $2 $3}'``stat -c %y "$file" | cut -d. -f1 | cut -d" " -f2 | awk -F: '{print $1 $2 "." $3}'`
-
-"$editor" "$file"
-
-touch -t $timestamp "$file"