print "The aswer is ",5*7,"\n"; $foo = "The aswer is ".5*7."\n"; print $foo; 刚看perl. 运行的时候老提示第2个有错误. String found where operator expected at test line 5, near "7."\n"" (Missing operator before "\n"?) why???
请问如何判断现有数据库的license数是多少,是不是那个最大连接数? 如何知道现有数据库需要多少个license数目,是不是同时并行处理的用户进程的最大数目?
如何判定license是有效的.(从license 文件的格式上) 1. # # Product : Sol TMN Agent Tester, 1.1 # Date : 09-Jun-2002 # SERVER 80f8af6c 1726 DAEMON lic.SUNW /etc/opt/licenses/lic.SUNW INCREMENT TMNagttest lic.SUNW 1.000 09-jul-2002 1 4BAA9001039FF34B6BCF "0" #license_FILE TMNagttest 1.000 TMNagttest1.0 1 2. # # Product : Solstice CMIP/SPARC, 8.2.1 # Date : 10-Jul-2002 # SERVER 80f8af6c 1...
在shell 中,我有这样一个操作 file=$(date -d '6 days ago' +%Y_%m_%d) //得到6天前的日期 格式是:2008_07_06 //然后对一个文本文件进行操作:在该文本文件 增加一列filename格式的日期 我是这样操作的: cat /home/cxr/table/cxr.txt | awk -F '/' '{print $1,$file}' >/home/cxr/table/cxrend.txt 执行说有语法错误,当我把$file 换成 “2008_07_06” 这样的格式,就是可以的。why 我想在print 里面得到,一个命令的执行结...
不好意思 平时觉得没用 今天用事实说话,他还是有用的 find /home/ -path "/home/main/*" -prune -o \( -type f \) /home/maint/list.sh /home/main/log.sh.bak /home/test/1 /home/test/2 find /home/ -path "/home/maintain/*" -prune -o \( -type f -print \) /home/test/1 /home/test/2