summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-10-22 19:22:16 +0200
committerErich Eckner <git@eckner.net>2016-10-22 19:22:16 +0200
commit8574281527261206236f181408227c3ee50ca4a9 (patch)
treef79e4e6c63b1d97fa8b3799eb3565835df2b5aad
parent33b42895e53048e9678e5121d39d3aae9bb58709 (diff)
downloadhardlinkedBackups-8574281527261206236f181408227c3ee50ca4a9.tar.xz
backupStatistics laeuft nun bis stage4 durch
-rw-r--r--backupStatistics.in19
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)