diff options
author | Erich Eckner <git@eckner.net> | 2016-10-22 19:22:16 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-10-22 19:22:16 +0200 |
commit | 8574281527261206236f181408227c3ee50ca4a9 (patch) | |
tree | f79e4e6c63b1d97fa8b3799eb3565835df2b5aad | |
parent | 33b42895e53048e9678e5121d39d3aae9bb58709 (diff) | |
download | hardlinkedBackups-8574281527261206236f181408227c3ee50ca4a9.tar.xz |
backupStatistics laeuft nun bis stage4 durch
-rw-r--r-- | backupStatistics.in | 19 |
1 files 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) |