LinearArray to Programmer Humor@programming.devEnglish • 7 months agoMy wife was unimpressed by Vimprogramming.devimagemessage-square184fedilinkarrow-up1965arrow-down119
arrow-up1946arrow-down1imageMy wife was unimpressed by Vimprogramming.devLinearArray to Programmer Humor@programming.devEnglish • 7 months agomessage-square184fedilink
minus-square@lil@lemy.lollinkfedilink2•7 months agoI guess shell languages can’t do this: export EDITOR=case "$OSTYPE" in linux*) nano ;; freebsd*) ee ;;
minus-square@ryannathans@aussie.zonelinkfedilink2•edit-27 months agoThat would be too smart. Smells like kotlin’s when
minus-square@SpaceNoodle@lemmy.worldlinkfedilink2•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.