X-Git-Url: http://git.pippins.net/embedvideo/.git/static/gitweb.js?a=blobdiff_plain;f=scripts%2Ffiles-from-date.sh;h=2db6fc228c378165e316fb3a00236dbd464360b7;hb=89d2e005aadc06c608545fb477356cb3b4d12bed;hp=6680e9772395c9d59e8f74c30b6f9793e06a8a2c;hpb=64041aeff4045970d61980ebe08a06c647dd336c;p=backups%2F.git diff --git a/scripts/files-from-date.sh b/scripts/files-from-date.sh index 6680e97..2db6fc2 100755 --- a/scripts/files-from-date.sh +++ b/scripts/files-from-date.sh @@ -2,4 +2,4 @@ [ $# == 1 ] || exit 1 -awk --posix 'BEGIN { RS="\0" } { d=$7; gsub( /([^ ]*[ ]){7,7}/, "" ); if ( date == d ) printf "%s\0",$0 }' date=$1 +gawk --posix 'BEGIN { RS="\0" } { d=$7; gsub( /^([^ ]*[ ]){7,7}/, "" ); if ( date == d ) printf "%s\0",$0 }' date=$1