diff options
author | Stefan Ritter <xeno@thehappy.de> | 2009-10-20 19:33:57 +0200 |
---|---|---|
committer | Stefan Ritter <xeno@thehappy.de> | 2009-10-20 19:33:57 +0200 |
commit | 7a0fb14d5e0d8ca6192ae9ab07819eaa5928cf06 (patch) | |
tree | 522b075dd79e9cf9e6fb98eb77ca315525605408 /viod | |
parent | 5dd1da4d9c9237abcf60eaf931c4501da3fed617 (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" |