PHP
·
发表于 5年以前
·
阅读量:8285
#!/bin/bash
# testing inpiut/output file descriptor
exec 3<> test
read line <&3
echo "Read: $line"
echo "This is the test line" >&3