上一页 1 2 3 4 5 6 7 ··· 17 下一页
摘要: grep "str" file > /dev/null if [ $? -eq 1]; then echo "no str" else echo "find str" fi 输出到/dev/null中为了不打印输出 阅读全文
posted @ 2017-01-17 09:52 chencesc 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 匹配 sed -n '/pattern/p' file_name |sed -n 7,12p #pattern是你要查的内容 #file_name是你要查的文件 以上实现:打印出匹配结果中的7-12行 sed -n '/pattern/{7,12p}' file_name 以上实现将文件中7到12行 阅读全文
posted @ 2017-01-16 13:00 chencesc 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 每行操作 cat 1.log|while read line; do NAME=`awk 'BEGIN {split("'"$line"'",arr);print arr[1]}'` ID=`awk 'BEGIN {split("'"$line"'",arr);print arr[2]}'` don 阅读全文
posted @ 2017-01-15 19:00 chencesc 阅读(103) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/yuguiyang1990/article/details/40400271 阅读全文
posted @ 2017-01-15 17:35 chencesc 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 语法 http://www.cnblogs.com/AP0904225/p/5967979.html 目前自己用过 一、菜单 menu "desc" endmenu 二、可配菜单 menuconfig CONFIG_STR bool "desc" depends on CONFIG_OTHER de 阅读全文
posted @ 2017-01-15 13:21 chencesc 阅读(490) 评论(0) 推荐(0) 编辑
摘要: http://www.cppblog.com/franksunny/archive/2007/11/29/37510.html http://www.tuicool.com/articles/vuymUz 阅读全文
posted @ 2017-01-04 13:59 chencesc 阅读(107) 评论(0) 推荐(0) 编辑
摘要: http://www.enet.com.cn/eschool/video/c++/ 视频 http://www.runoob.com/cplusplus/cpp-inheritance.html 书 http://www.cnblogs.com/ggjucheng/archive/2011/12/1 阅读全文
posted @ 2017-01-04 13:28 chencesc 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 一、概念 DVB, 数字视频广播Digital Video Broadcasting的缩写, 是由DVB项目维护的一系列国际承认的数字电视公开标准。(欧标)二、分类DVB系统传输方式有如下几种: 卫星 (DVB-S 及 DVB-S2) ;有线 (DVB-C) ;地面无线 (DVB-T DVB-T2) 阅读全文
posted @ 2016-12-27 19:00 chencesc 阅读(1335) 评论(0) 推荐(0) 编辑
摘要: 以上是头文件的结构体定义 以前的写法 : http://blog.csdn.net/lichengtongxiazai/article/details/38941997 DT书写规范 http://www.right.com.cn/forum/thread-146260-1-1.html DT(2) 阅读全文
posted @ 2016-12-22 12:55 chencesc 阅读(1053) 评论(0) 推荐(0) 编辑
摘要: 字符设备,块设备书 一、register_chrdev_region, register_chrdev, misc_register misc device(杂项设备) 在 Linux 内核的include/linux目录下有miscdevice.h文件 所有这些设备采用主编号10 ,一起归于mis 阅读全文
posted @ 2016-12-21 18:36 chencesc 阅读(457) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 17 下一页