3 ms·
I really didn't understand why the last if statement is confusing. Is it because when starting out with shell scripting one would usually assume that the [ is a
by user261 3y ago
I really didn't understand why the last if statement is confusing. Is it because when starting out with shell scripting one would usually assume that the [ is a part of the bash scripting language not just another program? If it's then I think I get it now. Otherwise please mention why it's surprising. Also, @author thanks for a nice article. was a good reed.
- computerfriend 3y agoEven if you don't know about [ as a binary, I still don't see how it's confusing. Seems like very normal bash to me.