RosettaCodeData/Task/Write-entire-file/AWK/write-entire-file.awk

8 lines
169 B
Awk
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
# 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)
}