
bash
world_hello_100
这个作者很懒,什么都没留下…
展开
-
about abs guide
////////////////////////////////////////////////////////////////I tried to remove all newlines in a pipe like this:(echo foo; echo bar) | sed -e :a -e N -e '$!ba' -e 's/\n/ /g' | hexdump -C转载 2017-03-08 16:33:54 · 412 阅读 · 0 评论 -
Why doesn't this simple RegEx work with sed?
current communitychatblog Stack OverflowMeta Stack OverflowCareers 2.0your communities Sign up orlog in to customize your list. more stack exchange co转载 2014-03-11 20:36:20 · 1156 阅读 · 0 评论 -
http://www.regular-expressions.info/gnu.html
Quick StartTutorialTools & LanguagesExamplesReferenceBook ReviewsEasily use the power of GNU regular expressions with RegexBuddy.Create, analyze a转载 2014-03-11 20:37:22 · 937 阅读 · 0 评论 -
Regular Expression
根据这坛里的链接找到的台湾出品的几篇好贴,感觉很不错,又受到了一次基础培训和巩固复习.所以收藏后也共享给大家,谢谢!引用:Regular Expression 简介中央研究院计算中心ASPAC 计划aspac@phi.sinica.edu.tw技术报告: 940191995 年 2 月 9 日Version : 1.0版权声明 目录 Why Regular Expression 组成 Regula转载 2017-05-04 11:05:12 · 649 阅读 · 0 评论 -
Regular Expression 简介
根据这坛里的链接找到的台湾出品的几篇好贴,感觉很不错,又受到了一次基础培训和巩固复习.所以收藏后也共享给大家,谢谢!Regular Expression 简介中央研究院计算中心ASPAC 计划aspac@phi.sinica.edu.tw技术报告: 940191995 年 2 月 9 日Version : 1.0版权声明 目录 Why转载 2014-01-08 13:39:09 · 618 阅读 · 0 评论 -
backslash preceding characters
In regular, unquoted situations, every character with a backslash preceding it has it's backslash processed, whether it needs it or not.But inside quotes or a heredoc, only the few listed characte转载 2017-04-05 13:22:26 · 481 阅读 · 0 评论 -
VT / Console / Xterm escape sequence
12345678910111213141516^V-Key Console (80x25) Xterm (KDE) Xterm/Nxterm (Gnome)------ Disp Binary Disp Binary Disp BinaryHome ^[[1~ 1B 5B 31 7E ^[[H 1B 5B 48 ^[OH 1B 4F 48End ^[[4~ 1B 5B 34 7E ^[[F 1B转载 2017-04-05 09:51:50 · 1083 阅读 · 0 评论 -
shell special characters within shell command lines
~ Home directory ` Command substitution (archaic:古代的;过时的,陈旧的;古体的;古色古香的)# Comment $ Variable expression & Background job * String wildcard ( Start subshell ) End su转载 2014-01-07 14:05:18 · 729 阅读 · 0 评论 -
getopt在bash下的使用技巧
原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://wangxiaoyu.blog.51cto.com/922065/624159getopt命令并不是bash的内建命令,它是由util-linux包提供的外部命令。相比较bash 的内置命令,getopt不只支持短参-s,还支持--longopt的长参数,甚至支持-lo转载 2014-01-07 17:24:36 · 1333 阅读 · 0 评论 -
LC_COLLATE is a variable which determines the collation order
There's a code snippet in ABS guide.#!/bin/bash# uppercase.sh : Changes input to uppercase.tr 'a-z' 'A-Z'# Letter ranges must be quoted#+ to prevent filename generation from single-letter file转载 2017-03-11 10:07:09 · 364 阅读 · 0 评论 -
linux下tty,控制台,虚拟终端,串口,console(控制台终端)详解
http://blog.youkuaiyun.com/liaoxinmeng/archive/2009/12/14/5004743.aspx首先:1。终端和控制台都不是个人电脑的概念,而是多人共用的小型中型大型计算机上的概念.一台主机,连很多终端,终端为主机提供了人机接口,每个人都通过终端使用主机的资源. 终端有字符哑终端和图形终端两种.控制台是另一种人机接口, 不通过终端与主机相连, 而是通转载 2012-10-13 10:42:07 · 1043 阅读 · 0 评论 -
console,uart,tty的关联关系 .
http://blog.youkuaiyun.com/againyuan/article/details/32385722008-11-06 15:47 652人阅读 评论(0)收藏 举报console可以是串口,也可以是vga,console确实是只能输出,write,内核打印。在UNIX系统中,计算机显示器通常被称为控制台终端(Console)。它仿真了类型为Linux的一种终转载 2012-10-13 10:45:41 · 733 阅读 · 0 评论 -
What is the difference between Terminal, Console, Shell, and Command Line?
The short answer is thatterminal = text input/output environmentconsole = physical terminalshell = command line interpreterConsole and terminal are closely related. Originally, they meant a pi转载 2017-03-09 10:30:26 · 567 阅读 · 0 评论 -
shell abs
A meta-meaning is the meaning of a term or expression on a higher level of abstraction. For example, the literal meaning of regular expression is an ordinary expression that conforms to accepted usage转载 2014-01-11 22:16:34 · 674 阅读 · 0 评论