Browse Source

sed changed to have it correct for grep

Should be like this:
```
grep 'pattern1\|pattern2' filename
```
See: 
https://www.thegeekstuff.com/2011/10/grep-or-and-not-operators/
pull/1/head
utzer 2 years ago committed by GitHub
parent
commit
e02616058c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cleanup_friendica.sh

2
cleanup_friendica.sh

@ -32,7 +32,7 @@ esac
. /usr/local/etc/cleanup_friendica.conf
# make a list to be used for grep -E
protected=$(echo $protectedusers | sed 's/\"//g' | sed 's/\ /\|/g')
protected=$(echo $protectedusers | sed 's/\"//g' | sed 's/\ /\\\|/g')
cd ${friendicapath} || exit 0

Loading…
Cancel
Save