ChinaUnix.net
相关文章推荐:

Can not read response from server Expected to read 4 bytes read 0 bytes before connection was unex

after post a form I read STDIN with [code] print "POST: $ENV{'CONTENT_LENGTH'}
;"; read(STDIN, $bb, $ENV{'CONTENT_LENGTH'}); print "POST: $bb
;"; [/code] then I get this result [code]POST: 23 POST: [/code] Why I can't read from STDIN? anybody help? :roll: ps: sorry I can't post chinese.

by rocklv - Perl - 2004-08-27 09:23:12 阅读(1499) 回复(3)

相关讨论

原代码如下: fsmax="85" maillist1="[email]cold@163.com[/email]" maillist2="[email]hot@163.com[/email]" df -k | grep '/dev/h' | awk '{print $1,$5,$6}'>mailfile mail -s "Filesystem Information" $maillist1 < mailfile mail -s "Filesystem Information" $maillist2 < mailfile df -k | grep '/dev/h' | awk '{print $5}'>outfile while [ read fsvalue ] do fsvalue=$(echo $fsvalue | sed 's/\%//') ...

by wwmshe - Shell - 2006-05-17 14:13:03 阅读(1233) 回复(1)

int n = read(fd, buf, len), 当fd为一socket descriptor时,read在哪几种情况下会返回?

by TomTang - C/C++ - 2006-08-21 23:09:11 阅读(908) 回复(2)

#!/bin/sh sleep 3 echo "input a:" read a if [ "$a" == y ]; then echo $a else echo no fi 问题: 如果在shell sleep 的过程敲很多次回车 例如3次 现象为 [root@localhost]#./filename input a: no [root@localhost]# [root@localhost]# [root@localhost]# _ 也就是说shell记住了你敲的这3次回车 怎么能达到这种效果: 不管敲几次回车 只捕捉input a: 出现后的那一次输入 [root@localhost]#./filename i...

by lovec - Shell - 2006-05-17 17:24:49 阅读(1892) 回复(12)

请问“read"在shell scripts上是不是表示从标准输入上读出字符?

by x518889 - Linux论坛 - 2004-04-16 13:48:15 阅读(592) 回复(1)

两台机子 fc4 bsd5.4 在fc4 上:talk ip(bsd5.4) error on read from talk daemon:connection refused 在bsd上:talk if(fc4) checking for invatition on caller's machine 两机能ping通 均mesg y 怎么解决那?

by kevindany - BSD - 2006-04-28 14:14:17 阅读(2138) 回复(0)

Sun fire v120机器,使用原装的硬盘,安装,启动都没有问题,后来换了一块硬盘,型号、容量都一模一样,安装完毕后,重启机器,就报 can't read disk label can't open disk package 高手帮刊一下怎么解决?

by kylints - Solaris - 2008-06-12 16:06:07 阅读(4136) 回复(7)

使用dmesg命令,系统提示: can't read kernel memory 请高手指点! :)

by mby51 - Solaris - 2005-06-24 16:41:27 阅读(1316) 回复(1)

when i do fsck ,it is said can not read blk 9582144 9582145... how can i do

by bmctize - Solaris - 2003-12-21 16:59:58 阅读(775) 回复(3)

[10/Nov/2007:13:48:27 +0800] INFO:Zeus Web server running [10/Nov/2007:13:48:27 +0800] INFO:ddd:Website http://192.168.1.103 starting [10/Nov/2007:13:48:27 +0800] INFO:ddd:Website http://192.168.1.103 running [10/Nov/2007:13:49:18 +0800] INFO:ddd:Website stopped [10/Nov/2007:13:49:20 +0800] INFO:ddd:Website http://192.168.1.103 starting [10/Nov/2007:13:49:20 +0800] INFO:ddd:Website http://192.168....

by hfh08 - 服务器应用 - 2008-03-10 14:34:53 阅读(2965) 回复(3)

我在做rsync的时候出现这样的错误。不知道出现什么问题。 服务器端:/etc/rsync.conf uid = nobody gid = nobody use chroot = no max connection = 4 pid file = /var/run/rsyncd.pid lock file = /var/run/rsyncd.lock log file = /var/run/rsyncd.log [bx] path = /var/web/bx comment = rsync test ignore errors = yes read only = true list = false 客户端:[root@gzbackup root]# rsync -tvzrp --delete ip::bx /bak1/bx...

by 恋家的老鼠 - Linux论坛 - 2005-06-02 10:02:16 阅读(1162) 回复(0)