问题描述
我正在考虑向vim添加一个命令,用于从C源
文件的每一行末尾删除
空格。任何人都可以想到这样一个白色空间可能有用的情况吗?
I''m thinking of adding a command to vim for removing
white space from the end of each line of a C source
file. Can anyone think of a situation where such white
space might be useful ?
推荐答案
// \< no-space>
printf(" Never called!\ n");
// \< space>
printf(" Called!\ n");
//\<no-space>
printf("Never called!\n");
//\<space>
printf("Called!\n");
他说有用,而不是混淆!
- Richard
-
考虑在一些字母表中需要多达32个字符
- X3.4,1963。
He said "useful", not "obfuscating"!
-- Richard
--
"Consideration shall be given to the need for as many as 32 characters
in some alphabets" - X3.4, 1963.
// \< no-space>
printf(" Never called!\ n");
// \< space>
printf(" Called!\ n");
//\<no-space>
printf("Never called!\n");
//\<space>
printf("Called!\n");
我不会称之为
// \< no-space>
printf(从不打电话!\ n);
有用。但感谢您的建议。
I wouldn''t call a construct like
//\<no-space>
printf("Never called!\n");
useful. But thanks for the suggestion.
这篇关于一条线末端的空白区域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!