7 lines
222 B
Bash
7 lines
222 B
Bash
for line in $(cat list.txt) ; do
|
|
if ! [ -z $line ] && ! [[ $line == "#"* ]] ; then
|
|
echo "Submit $line"
|
|
echo "$line" | curl -X POST http://127.0.0.1:9182/add --data-binary @-
|
|
echo ""
|
|
fi
|
|
done
|