Posted By

kevinberny on 12/23/08


Tagged

textmate Shell Bash


Versions (?)

check existence of 2 items effeciently


 / Published in: Other
 

  1. [ -e FOO ] || [ -e BAR ] #since disk seeks are so expensive, use conditional format which is both portable and efficient

Report this snippet  

You need to login to post a comment.