#!/bin/bash
#
# backup-script system for cloning systems using rsync
-# Copyright (c)2008-2018 Alexander Barton, alex@barton.de
+# Copyright (c)2008-2019 Alexander Barton, alex@barton.de
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
ListDirectory "${gen2_d}" "${dir}" >"$tmp_2"
if ! diff -U 0 "$tmp_1" "$tmp_2" >"$tmp_diff"; then
BeginDiff "\"$dir\" directory"
- tail -n +3 "$tmp_diff" | egrep -v '^@@ ' | PipeDiff
+ tail -n +3 "$tmp_diff" | grep -Ev '^@@ ' | PipeDiff
EndDiff
return_code=1
fi