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