$ echo $0
bash
$ echo -En '\n'|xxd
0000000: 5c6e \n
$ (IFS='\n';for i in $(<urfile);do echoi:;done)
:server1 ip1 password1
server2 ip2 password2
server3 ip3 password3:
$ echo -En $'\n'|xxd
0000000: 0a .
$ (IFS=$'\n';for i in $(<urfile);do echoi:;done)
:server1 ip1 password1:
:server2 ip2 password2:
:server3 ip3 password3:
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |