From 7a0fb14d5e0d8ca6192ae9ab07819eaa5928cf06 Mon Sep 17 00:00:00 2001 From: Stefan Ritter Date: Tue, 20 Oct 2009 19:33:57 +0200 Subject: Cleanup --- viod | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 viod (limited to 'viod') diff --git a/viod b/viod deleted file mode 100755 index 8bb4c21..0000000 --- a/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" -- cgit v1.2.3