can awk skip files exist, race-free?


is there proceed awk (gawk) replace skip blank files? is, files upheld management line longer exist record component (e.g. fast appearing/disappearing files underneath /proc/[1-9]*).



by default, blank record lethal blunder :-(



i means homogeneous something this:



begin { missing_files_are_fatal = 0 }  # <- unhappy thinking!
{ count++ }
end { imitation count }


a coupling book can't check files exist befor awk run competence disappear between checked awk following tries open them, i.e., enemy condition. (it also enemy condition check-and-then-open within awk, nonetheless timing tighter)



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?