| Index: edit.sh | 
| diff --git a/edit.sh b/edit.sh | 
| new file mode 100755 | 
| index 0000000000000000000000000000000000000000..b4ca5c3741141b01a21bfd1998d112d49da87878 | 
| --- /dev/null | 
| +++ b/edit.sh | 
| @@ -0,0 +1,32 @@ | 
| +#!/bin/sh | 
| + | 
| +# Filter out uninformative output lines from the ldap-sync cron job script | 
| + | 
| +last_action="" | 
| + | 
| +while read line; do | 
| +  case "$line" in | 
| +    *-\>*) | 
| +      if [ ! -z "$last_action" ] | 
| +      then | 
| +        echo "$last_action" | 
| +      fi | 
| + | 
| +      echo "$line" | 
| +      last_action="" | 
| +      ;; | 
| +    --\ Found\ *\ users* | \ | 
| +    \#* | \ | 
| +    *Synchronizing\ *\ groups* | \ | 
| +    \*\*\ Synchronizing\ *\ users* | \ | 
| +    --\ Updating\ user\ \'*\'?\(*\)* | \ | 
| +    --\ Updating\ group\ \'*\'* | \ | 
| +    --\ Creating\ user\ \'*\'?\(*\)* | \ | 
| +    --\ Creating\ group\ \'*\'*) | 
| +      last_action="$line" | 
| +      ;; | 
| +    *) | 
| +      echo "$line" | 
| +      ;; | 
| +  esac | 
| +done | 
|  |