This works:
这有效:
#!/bin/bash
while read system_name mount_name
do
echo "${system_name} ${mount_name}"
done < <(echo "select system_name, mount_name from SystemTable" | mysql ifm -uroot -pinsite3)
#!/bin/bash
while read sysThis works:
这有效:
#!/bin/bash
while read system_name mount_name
do
echo "${system_name} ${mount_name}"
done < <(echo "select system_name, mount_name from SystemTable" | mysql ifm -uroot -pinsite3)
#!/bin/bash
while read sys