Hi,
My awk utility looks as folows:
BEGIN {
file1 = ARGV[1];
file2 = ARGV[2];
# Cleanup the existing out files
system("rm common.out");
# Get common records
system("comm -12 file1 file2 > common.out");
}
Can somone please point me to the correct syntax that is required for the system() command ?
Thanks
rogers42
My awk utility looks as folows:
BEGIN {
file1 = ARGV[1];
file2 = ARGV[2];
# Cleanup the existing out files
system("rm common.out");
# Get common records
system("comm -12 file1 file2 > common.out");
}
Can somone please point me to the correct syntax that is required for the system() command ?
Thanks
rogers42