if(-z "$file1" && "file2") {} else {}
当我编写这个文件时,当文件为空时,它会打印execute,而当文件不是空时,它会打印file1 and file2 are empty。当条件为真时,它应该打印file1 and file2 are empty,对吗?还是错了?
我有两个CSV文件,格式如下:No.1, No.2763498,81243970File2:"7938493$1 FS "Match" : $1 FS "In file2 but not in file1"} for (x in a) {print x FS "In file1 but not in file2"