LinearArray to Programmer Humor@programming.devEnglish • 3 months agoMy wife was unimpressed by Vimprogramming.devimagemessage-square186fedilinkarrow-up1962arrow-down119
arrow-up1943arrow-down1imageMy wife was unimpressed by Vimprogramming.devLinearArray to Programmer Humor@programming.devEnglish • 3 months agomessage-square186fedilink
minus-square@lil@lemy.lollinkfedilink2•3 months agoI guess shell languages can’t do this: export EDITOR=case "$OSTYPE" in linux*) nano ;; freebsd*) ee ;;
minus-square@SpaceNoodle@lemmy.worldlinkfedilink2•3 months agoPut backticks around the entire case statement, and you can.
minus-square@ryannathans@aussie.zonelinkfedilink2•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