kiri@ani.social to Linux@programming.dev · 22 days agoWhich command substitution do you prefer in shell scripts: backquotes `` or $() syntax?message-squaremessage-square10linkfedilinkarrow-up116arrow-down11file-text
arrow-up115arrow-down1message-squareWhich command substitution do you prefer in shell scripts: backquotes `` or $() syntax?kiri@ani.social to Linux@programming.dev · 22 days agomessage-square10linkfedilinkfile-text
minus-squarenous@programming.devlinkfedilinkEnglisharrow-up3·22 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?