摘要: 你的文件分隔符恐怕不止一个空格(一定的who生成的): 用awk: awk '{print $2}' file 一定要用cut的话: cat file|tr -s ' '|cut -d' ' -f2 阅读全文
posted @ 2011-06-09 15:23 katago 阅读(2034) 评论(0) 推荐(0)
摘要: please input the mac : 00:1A:A9:AA:BB:CC new mac for decrease is :00:1A:A9:AA:BB:CB new mac for increase is :00:1A:A9:AA:BB:CD #define BOOL int #define FALSE 0 #define TRUE 1 #include <stdio.h> #incl... 阅读全文
posted @ 2011-06-09 14:31 katago 阅读(3638) 评论(0) 推荐(0)