I came across this line in one of the shell scripts:
[-f $host_something ] && .$host_something
What are the square brackets with the -f
switch supposed to do, and what is the point of ANDing it with the same environment variable?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…