1.d命令
命令d用于删除输入性。sed先将输入行从文件赋值到模式空间里,然后对该行执行sed命令,最后将模式空间里的内容显示在屏幕上。如果发出的是命令d,当前模式空间里的输入会被删除,不被显示。
sed '$d' datafile
#删除最后一行,其余的都被显示
sed '/my/d' datafile
#删除包含my的行,其余的都被显示...
分类:
其他好文 时间:
2014-07-18 21:28:51
阅读次数:
244
来自:http://shine-it.net/index.php/topic,2431.0.html 一、记账凭证(Account Move) 会计上的记账凭证,也叫会计分录,在OpenERP中叫“Account Move”。Account Move直译是“账户移动”,之前解释过复式库存管理的核心概...
分类:
其他好文 时间:
2014-07-18 20:13:27
阅读次数:
300
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:
其他好文 时间:
2014-07-17 14:03:41
阅读次数:
293
工作之余闲来无聊,于是就有了用JS来实现算法演示的想法,很久以前用JS实现过选择排序,不过源程序找不到了! 汉诺塔的递归算法:void move(int n,char a,char b,char c){ if(n==1) printf("\t%c->%c\n",a,c); ...
分类:
其他好文 时间:
2014-07-16 20:57:51
阅读次数:
228
#include #include #include #include #define MAX 256void move_stars(char* str) { int len = strlen(str) - 1; char* p = str + len; char* ...
分类:
移动开发 时间:
2014-07-16 19:15:02
阅读次数:
200
题目如下:
Don't Get Rooked
In chess, the rook is a piece that can move any number of squaresvertically or horizontally. In this problem we will consider smallchess boards (at most ...
分类:
其他好文 时间:
2014-07-16 10:16:07
阅读次数:
254
Doc ID 428681.1Applies to: Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.1.0 [Release 10.2 to 11.2]Information in this document applies to any platform.GoalThe goal of this note i...
分类:
其他好文 时间:
2014-07-14 18:12:01
阅读次数:
343
使用asmcmd cp命令 把datafile从文件系统移动(move)到asm磁盘组中--针对11gR2...
分类:
移动开发 时间:
2014-07-13 16:28:01
阅读次数:
190
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.
For example, given the following triangle
[
[2],
[3,4],
[...
分类:
其他好文 时间:
2014-07-13 16:01:42
阅读次数:
209
在rac中,使用asmcmd命令从 文件系统 move system datafile 到asm磁盘组的方法...
分类:
其他好文 时间:
2014-07-13 15:39:32
阅读次数:
366