search directory
Search Commands
Search tools, operations, flags, and command strings. Results are capped for Worker performance.
Case Commands
8 case entries
Limited to 100 results
case Search
Case Command: Allow Matching Multiple Patterns
case <$ANIMAL> in <cat>) <echo "It's a cat"> ;;& <cat|dog>) <echo "It's a cat or a dog"> ;;& *) <echo "Fallback"> ;; esac case Search
Case Command: Allow Multiple Patterns
case <$ANIMAL> in <cat>) <echo "It's a cat"> ;;& <cat|dog>) <echo "It's a cat or a dog"> ;;& *) <echo "Fallback"> ;; esac case Search
Case Command: Combine Patterns With Fallback
case <$COUNTRULE> in <[wW]|words>) <wc --words README> ;; <[lL]|lines>) <wc --lines README> ;; *) <echo "what?"> ;; esac case Search
Case Command: Continue Next Patterns Commands
case <$ANIMAL> in <cat>) <echo "It's a cat"> ;& <dog>) <echo "It's either a dog or cat fell through"> ;& *) <echo "Fallback"> ;; esac case Search
Case Command: Continue To Next Patterns Commands
case <$ANIMAL> in <cat>) <echo "It's a cat"> ;& <dog>) <echo "It's either a dog or cat fell through"> ;& *) <echo "Fallback"> ;; esac case Operations
Case Command: Display Help For Case
help case case Search
Case Command: Match Variable Against String Literals
case <$COUNTRULE> in <words>) <wc --words README> ;; <lines>) <wc --lines README> ;; esac case Search
Case Command: Match Variable Against Strings
case <$COUNTRULE> in <words>) <wc --words README> ;; <lines>) <wc --lines README> ;; esac