Anonymous user
Check that file exists: Difference between revisions
→{{header|AWK}}
Line 590:
{{works with|gawk}}
Check file(s) existence
<lang>gawk 'BEGINFILE{if (ERRNO) {print "Not exist."; nextfile} else {print "Exist."; nextfile}}' input.txt input-missing.txt</lang>
|