Untitled
public text v1 · immutable#!/bin/bash
while read urls; do
echo ${urls} >> /tmp/teste.log
if [ $(grep -i ${urls} /etc/squid/teste.txt) ]; then
echo OK
else
echo ERR
fi
done
#!/bin/bash
while read urls; do
echo ${urls} >> /tmp/teste.log
if [ $(grep -i ${urls} /etc/squid/teste.txt) ]; then
echo OK
else
echo ERR
fi
done