kiri@ani.social to Linux@programming.dev · 5 days agoWhich command substitution do you prefer in shell scripts: backquotes `` or $() syntax?message-squaremessage-square13linkfedilinkarrow-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 · 5 days agomessage-square13linkfedilinkfile-text
minus-squarenous@programming.devlinkfedilinkEnglisharrow-up3·5 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?