摘要:
001、不使用对象式宏 [root@localhost test]# ls test.c [root@localhost test]# cat test.c ## 测试程序 #include <stdio.h> int main(void) { int i, sum = 0; int v[5] = 阅读全文
摘要:
001、大写转换为小写 [root@PC1 test]# ls a.txt [root@PC1 test]# cat a.txt ## 测试数据 ab cD EF HI KL mn Op qM [root@PC1 test]# sed 's/[A-Z]/\L&/g' a.txt ## 所有的大写转换 阅读全文