X-Git-Url: http://git.pippins.net/embedvideo/.git/static/gitweb.js?a=blobdiff_plain;f=scripts%2Ffiles-from-date.sh;h=80c0ad374ed448f84e8e1af2eb515e8020c042e2;hb=57409dee8819cc504d47a2f27b8937091244ed13;hp=6680e9772395c9d59e8f74c30b6f9793e06a8a2c;hpb=de6a3235b4d319401d00db0e7975e2a57ed344b2;p=backups%2F.git diff --git a/scripts/files-from-date.sh b/scripts/files-from-date.sh index 6680e97..80c0ad3 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 +awk --posix 'BEGIN { RS="\0" } { d=$7; gsub( /^([^ ]*[ ]){7,7}/, "" ); if ( date == d ) printf "%s\0",$0 }' date=$1