@Call[0] = "gawk -f test.gawk test.file > out.file"; system(@Call); #### @Call[0] = "gawk"; @Call[1] = "-f"; @Call[2] = "test.gawk"; @Call[3] = "test.file"; @Call[4] = ">"; @Call[5] = "out.file"; system(@Call);