RosettaCodeData/Task/Write-entire-file/AWK/write-entire-file.awk
2023-07-01 13:44:08 -04:00

7 lines
169 B
Awk

# syntax: GAWK -f WRITE_ENTIRE_FILE.AWK
BEGIN {
dev = "FILENAME.TXT"
print("(Over)write a file so that it contains a string.") >dev
close(dev)
exit(0)
}