LinearArray@programming.dev to Programmer Humor@programming.devEnglish · 3 months agoMy wife was unimpressed by Vimprogramming.devimagemessage-square169fedilinkarrow-up1846arrow-down116
arrow-up1830arrow-down1imageMy wife was unimpressed by Vimprogramming.devLinearArray@programming.dev to Programmer Humor@programming.devEnglish · 3 months agomessage-square169fedilink
minus-squarelil@lemy.lollinkfedilinkarrow-up2·3 months agoI guess shell languages can’t do this: export EDITOR=case "$OSTYPE" in linux*) nano ;; freebsd*) ee ;;
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkarrow-up2·3 months agoPut backticks around the entire case statement, and you can.
minus-squareryannathans@aussie.zonelinkfedilinkarrow-up3arrow-down1·edit-23 months agoThat would be too smart. Smells like kotlin’s when
I guess shell languages can’t do this:
export EDITOR=case "$OSTYPE" in linux*) nano ;; freebsd*) ee ;;
Put backticks around the entire case statement, and you can.
That would be too smart. Smells like kotlin’s when