diff options
author | Stefan Ritter <xeno@thehappy.de> | 2010-09-03 17:51:43 +0200 |
---|---|---|
committer | Stefan Ritter <xeno@thehappy.de> | 2010-09-03 17:51:43 +0200 |
commit | 79ba4f0a21f5ee626c11f772f01fe3e07486e14e (patch) | |
tree | b5de1500827f8e5ff65e801f5dd0e53d0d020686 /viod | |
parent | 2ac330dbf357b6b9711d02a842afe377c481f351 (diff) |
Cleanup
Diffstat (limited to 'viod')
-rwxr-xr-x | viod | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -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" |