码迷,mamicode.com
首页 >  
搜索关键字:ora-03113 end-of-file    ( 238个结果
shell 正则表达三剑客--awk
awk命令awk和sed一样是流式编辑器,它也是针对文档中的行来操作的,一行一行的去执行。awk比sed更加强大,它能做到sed能做到的。awk工具其实是很复杂的,有专门的书籍来介绍它的使用。1awk命令形式awk[-F|-f|-v]‘BEGIN{}//{command1;command2}END{}’file[-F|-f|-v]大参数,-F..
分类:系统相关   时间:2017-01-02 00:18:05    阅读次数:581
express之sendFile
module.exports = function(req, res, opt) { var applyNo = req.query.applyNo; console.log("applyNo:"+applyNo); var file = path.resolve(__dirname, "../..... ...
分类:其他好文   时间:2016-12-29 03:08:34    阅读次数:292
ruby逐行遍历文件
ruby遍历文件内容,基本思路是逐行读取逐行打印,也是比较普遍的方法:#!/usr/bin/envruby #Encoding:utf8 file=File.open("/tmp/abc.txt") file.each_linedo|line| printline end file.close另外一种写法,一次性读取一次性打印,相对耗费更多内存,小文件场合比上面的方法更..
分类:其他好文   时间:2016-12-20 21:22:38    阅读次数:215
ruby仿awk处理列
直接上代码#!/usr/bin/envruby #encoding:utf-8 filename=ARGV[0] file=File.open(filename) =begin 逐列打印 =end file.each_linedo|line| myline=line.chomp! ary=myline.readlines putsary[1] end file.close用each_line逐行遍历,然后用readlines将行内容变为数组,然后..
分类:其他好文   时间:2016-12-20 21:21:32    阅读次数:145
PHP之递归删除
1 <?php 2 3 //递归删除目录 4 $path = "D:/a"; 5 //调用递归函数 6 $res = diGUiRmDir($path); 7 //输出结果 8 var_dump($res); 9 10 function diGUiRmDir($path){ 11 12 //打开目录... ...
分类:Web程序   时间:2016-12-12 22:27:04    阅读次数:166
syntax error:unexpected end of file
将window上编辑的xxy1.sh脚本上传到linux上,并执行的时候提示xxy1.sh: line 17: syntax error: unexpected end of file但是通过cat xxy1.sh查看脚本的时候,未发现语法异常,找了度娘后知道原来是window和linux的文件格式... ...
分类:其他好文   时间:2016-12-09 22:15:08    阅读次数:173
Python3下消除print()自动换行(转)
Python 2.x下的print语句在输出字符串之后会默认换行,如果不希望换行,只要在语句最后加一个“,”即可。但是在Python 3.x下,print()变成内置函数,加“,”的老方法就行不通了。 “print([object, ...], *, sep=' ', end='\n', file= ...
分类:编程语言   时间:2016-12-05 07:44:47    阅读次数:272
Python内置函数(50)——print
英文文档: print(*objects, sep=' ', end='\n', file=sys.stdout, flush=False) Print objects to the text stream file, separated by sep and followed by end. se ...
分类:编程语言   时间:2016-11-11 01:07:16    阅读次数:191
Unexpected end of file from server 服务器访问问题导致
Caused by: java.net.SocketException: SocketException invoking http://xxxx/cxf/xh/creditInterface?wsdl: Unexpected end of file from server at sun.refle ...
分类:其他好文   时间:2016-10-21 11:19:09    阅读次数:2556
HDU 1000 A + B Problem
Problem Description Calculate A + B. Input Each line will contain two integers A and B. Process to end of file. Output For each case, output A + B in ...
分类:其他好文   时间:2016-10-02 21:51:16    阅读次数:181
238条   上一页 1 ... 13 14 15 16 17 ... 24 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!