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