Note the new '-n' option, which tells sed to not print the pattern space unless explicitly commanded to do so.
请注意新的'- n '选项,该选项告诉sed除非明确要求打印模式空间,否则不这样做。
The -n debugging flag causes make to print a list of things it thinks it needs to do; it's not always correct, but it often gives you an idea of what's wrong.
n调试标记会导致make打印它认为需要做的事情的一个列表;这并不总是正确的,不过通常可以为思考哪些地方出现了问题而提供一些思路。
The 'p' command does what it always does, explicitly telling sed to print out the line, since we are in '-n' quiet mode.
因为是处于' -n '安静方式,所以'p '命令还是完成其惯有任务,即明确告诉sed打印该行。
Why is this easier than print "1.. 5 \ n"?
为什么这比print “1. .5 \n ”还简单呢?
By default, calling print by itself appends a newline character (\ n).
默认地,若只调用print自身,结果会追加一个换行符(\n)。
When told to print no more than n bytes, snprintf guarantees that it creates a string of length no more than n-1, with a null terminator at the end of the string.
当被告知输出不超过n个字节时,snprintf保证会创建一个长度不超过n-1的字符串,字符串最后是一个空结束符。
The -n switch is used when you want explicitly to print out data.
当您想显式打印数据时,使用-n开关。
I print F, I backslash N, just to pretty up the screen, ArgC I then iterate from, I equal zero up to Arg C; so Arg C is the convention.
我键入printf,反斜杠n,来使屏幕变得美观点,然后i开始迭代,从i等于0增加到;,所以ArgC是一个约定。
I print F, I backslash N, just to pretty up the screen, ArgC I then iterate from, I equal zero up to Arg C; so Arg C is the convention.
我键入printf,反斜杠n,来使屏幕变得美观点,然后i开始迭代,从i等于0增加到;,所以ArgC是一个约定。
应用推荐