Hi guys,
I just wanna put condition, if the file is empty I should print "NOTHING"
I've tried this but doesnt work
or I've tried
if ($0==""){print "Nothing Missing"}
But both doesnt work, what should I do guys ?
Thanks for your idea.
I just wanna put condition, if the file is empty I should print "NOTHING"
I've tried this but doesnt work
Code:
awk '{if ($0 ~ //){print "Nothing Missing"}
else{
print;getline
}
}' missing_PromptCurves.csv
or I've tried
if ($0==""){print "Nothing Missing"}
But both doesnt work, what should I do guys ?
Thanks for your idea.