15 lines
298 B
Bash
15 lines
298 B
Bash
#!/bin/bash
|
|
|
|
INPUT="customers.txt"
|
|
|
|
while IFS= read -r client; do
|
|
name="$(echo "$client" | xargs)"
|
|
[ -z "$name" ] && continue
|
|
|
|
if openstack project list -f value -c Name | grep -iF -- "$name" >/dev/null; then
|
|
echo "FOUND : $name"
|
|
else
|
|
echo "NOT FOUND : $name"
|
|
fi
|
|
done < "$INPUT"
|