kiri@ani.social to Linux@programming.dev · 3 days agoWhich command substitution do you prefer in shell scripts: backquotes `` or $() syntax?message-squaremessage-square13fedilinkarrow-up118arrow-down11file-text
arrow-up117arrow-down1message-squareWhich command substitution do you prefer in shell scripts: backquotes `` or $() syntax?kiri@ani.social to Linux@programming.dev · 3 days agomessage-square13fedilinkfile-text
minus-squarenous@programming.devlinkfedilinkEnglisharrow-up3·3 days agoWhy wrap it in a function at all? Why not just put the if at the top of the file?
Why wrap it in a function at all? Why not just put the if at the top of the file?