summaryrefslogtreecommitdiff
path: root/backupStatistics.in
diff options
context:
space:
mode:
Diffstat (limited to 'backupStatistics.in')
-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)