这两个参数都要打开:
diff -w -B ./file1 ./file2
- -B, --ignore-blank-lines ignore changes where lines are all blank
- -w, --ignore-all-space ignore all white space
[......]
这两个参数都要打开:
diff -w -B ./file1 ./file2
[......]
计算日期差多少天
#include
#define yes 1
#define no 0
typedef struct date
{
int year;
int month;
int day;
}DATE;
long timedef(DATE d1,DATE d2);
int leap(int year);
int main()
{
DATE date1,date2;
date1.year=2006[......]