Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

case in fish

switch $animal
    case cat
        echo evil
    case wolf dog human moose dolphin whale
        echo mammal
    case duck goose albatross
        echo bird
    case shark trout stingray
        echo fish
    # Note that the next case has a wildcard which is quoted
    case '*'
        echo I have no idea what a $animal is
end
Comment

case in fish

switch VALUE
   [case [GLOB ...]
       [COMMAND ...]]
end
Comment

PREVIOUS NEXT
Code Example
Shell :: gitbuvcket 
Shell :: autpep8 format 
Shell :: assign diff result into a variable in shell script 
Shell :: Disable Apache in a Django Bitnami Stack 
Shell :: github settings loin 
Shell :: find and replace duplicate word linux 
Shell :: cmd check if environment variable exists 
Shell :: killall kdevtmpfsi 
Shell :: Fedora RPM Fusion with dnf 
Shell :: authorized by ssh without password 
Shell :: nginx brotli 
Shell :: how to install ferment 
Shell :: how to get the group name of a project in gitlab 
Shell :: linux stderr in strout umleiten 
Shell :: linux commans find only file name 
Shell :: powershell autocompletion 
Shell :: git cherry pick chain 
Shell :: connaitre la taille fichier gz debian 
Shell :: install gtk in msys2 shell 
Shell :: stop gnome display manager 
Shell :: catch lines after pattern 
Shell :: Additional UART in u-boot 
Shell :: powersheel comand recursive unzip all 
Shell :: gentoo enable all fonts 
Shell :: backup software move file from certain time 
Shell :: attemting to start apache server 
Shell :: docker entrypoint how not finish container 
Shell :: membuat nomor urut 11 digit berdasarkan id primary key 
Shell :: how to set findstr to new variable 
Shell :: sshpass freezing 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =