11 lines
231 B
Bash
Executable File
11 lines
231 B
Bash
Executable File
#!/bin/bash
|
|
echo "Gerando usuários..."
|
|
|
|
rm output.sql
|
|
touch output.sql
|
|
|
|
while IFS="" read -r username || [ -n "$username" ]; do
|
|
sed "s/username/$username/g" basesql.sql >>output.sql
|
|
echo -e "\n\n" >>output.sql
|
|
done <input.txt
|