kiri@ani.social to Linux@programming.dev · 4 days agoWhich command substitution do you prefer in shell scripts: backquotes `` or $() syntax?message-squaremessage-square12fedilinkarrow-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 · 4 days agomessage-square12fedilinkfile-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?