From 8574281527261206236f181408227c3ee50ca4a9 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 22 Oct 2016 19:22:16 +0200 Subject: backupStatistics laeuft nun bis stage4 durch --- backupStatistics.in | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/backupStatistics.in b/backupStatistics.in index db5a241..01e752c 100644 --- a/backupStatistics.in +++ b/backupStatistics.in @@ -73,15 +73,16 @@ do_stage() echo "" ) | \ sed 's|^\S\+ ||' | \ - sed ' - :a; - $!N; - s|\n\(.\)| \1|; - ta; - s|^ ||; - P; - D - ' > \ + while read s + do + if [ -z "${s}" ] + then + echo "" + else + echo -n "${s} " + fi + done | \ + sed 's| $||' > \ "${cacheDir}/${backupID}.duplicates" ;; 5) -- cgit v1.2.3-54-g00ecf