check existence of 2 items effeciently


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. [ -e FOO ] || [ -e BAR ] #since disk seeks are so expensive, use conditional format which is both portable and efficient

Report this snippet


Comments


You need to login to view comments.