Regular commit
[backups/.git] / scripts / files-from-date.sh
index 6680e9772395c9d59e8f74c30b6f9793e06a8a2c..80c0ad374ed448f84e8e1af2eb515e8020c042e2 100755 (executable)
@@ -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