經安全檢測,此網站為安全網站,請放心前往原始網址!

Unix shell - View topic - read file into array

read file into array If your file always has a '#' respectively numbers on the beginng of the line I would start like this. #!/bin/sh host=`awk '/^[^#]/ {print $1}' file` or ...

www.linuxmisc.com

網址安全性掃描由 google 提供