… fi ;; *) echo $Usage return $ERR ;; esac done if [[ ! -w $BackupLocation ]]; then… Discussion Thread by larryperl in Software Development
…): [CODE]*) echo $Usage return $ERR ;; esac done[/CODE] add your sanity…): [CODE]*) echo $Usage return $ERR ;; esac done if [[ $lFlag -eq 1… Reply by eggi
9 Years Ago
… [-a] command" exit 1;; esac done if [ "$OPTIND"… [-a] command" exit 1;; esac done if [ "$OPTIND"… Discussion Thread by k2k in Software Development
8 Years Ago
Re: getopts
… joe' ;; h|*) show_usage exit 0 ;; esac done shift $(($OPTIND - 1)) args… Discussion Thread by axn in Software Development
… "bad option, $1";; esac shift done [/code] Reply by sknake
7 Years Ago
… [Enter] key to continue..." ;; esac 3) clear echo "-------------------------------"… Discussion Thread by frankycool in Software Development
7 Years Ago
… ;; details|status) status ;; *) exit 1 esac exit 0 [/code] The funny… Discussion Thread by iamthwee in Software Development
7 Years Ago
… ;; details|status) status ;; *) exit 1 esac exit 0 [/code] The funny… Discussion Thread by iamthwee in Software Development
… ;; details|status) status ;; *) exit 1 esac exit 0 [/code] After the… Reply by sknake
7 Years Ago
… for exit *) # code for error esac else cd $choice fi fi… Discussion Thread by deven1974 in Software Development
7 Years Ago
… for exit *) # code for error esac else cd $choice fi fi… Discussion Thread by deven1974 in Software Development
…exit) exit *) # code for error esac else cd $choice fi fi…*) # code for error esac else cd $choice fi fi… Reply by deven1974
7 Years Ago
…*) # default. echo illegal choice # error. ;; esac done #!/bin/sh #Project1 add… # default. echo illegal choice # error. ;; esac done #! /bin/sh # menu test… Discussion Thread by hookah in Software Development
7 Years Ago
…; >&2 exit 1 ;; esac exit 0 # vim:not [/CODE… Discussion Thread by sarosh in Software Development
7 Years Ago
…|stop|restart)" exit 1 esac Next is the script to… | stop | restart)" exit 1 esac On the LVS: Interface configurations… Discussion Thread by williebens in Linux and Unix
6 Years Ago
…/*) ;; # valid mount point *) continue; esac Filesystems="$Filesystems $mountpoint"…/*) ;; # valid path name *) continue;; esac Filesystems="$Filesystems $mountpoint"… Discussion Thread by sammiepooh in Software Development
6 Years Ago
…) no_make=1;; r) remove_old=1;; esac done # if machine_list is null… Discussion Thread by ravicisco2002 in Software Development
6 Years Ago
…;Wrong choice , try again" ;; esac done answers(){ echo -e "… Discussion Thread by moraks007 in Linux and Unix
6 Years Ago
…;Wrong choice , try again" ;; esac done answers(){ echo -e "… Discussion Thread by moraks007 in Software Development
6 Years Ago
…";; ?) print_usage $0 exit 1;; esac done echo "Balances: "… Discussion Thread by nano72 in Software Development
6 Years Ago
…";; ?) print_usage $0 exit 1;; esac done echo "Balances: "… Discussion Thread by nano72 in Software Development
…}";; ?) print_usage $0 exit 1;; esac done echo "file = $file… Reply by nano72
5 Years Ago
…;Invalid Code"; read choice ;; esac done [/code] Discussion Thread by BTW8892 in Software Development
5 Years Ago
…;Invalid Code"; read choice ;; esac done fnPhoneAdd() { testloop=y while… Discussion Thread by BTW8892 in Software Development
5 Years Ago
… - at the top case & esac and the threee cat &… -O3 -pipe" > configparms ;; esac && ( ../glibc-2.14… Discussion Thread by lewashby in Linux and Unix
4 Years Ago
Hi..Everyone... you know case statement very well... case $var in op1)... op2)... esac The problem is ,,, how can i specify the less than , greater than condition in case statement???????? case $var in -gt 100).... esac ..is not working... Discussion Thread by prakash2813 in Software Development
4 Years Ago
…) ; transmitAckOverUDP(newblock) | timeout: transmitAckOverUDP(lastblock) esac until newblock==lastblock+1 ; lastblock… Discussion Thread by welshly_2010 in Software Development
4 Years Ago
…;-";; *) echo "default";; esac done < "$file"… Discussion Thread by replic in Software Development
4 Years Ago
…;-";; *) echo "default";; esac done < "$file"… Discussion Thread by replic in Software Development
…;-" ;; *) echo "default" ;; esac done Reply by b1izzard
4 Years Ago
… this script ..." exit $CRITICAL ;; esac getting web pages content and… Discussion Thread by gtam in Software Development
4 Years Ago
…; ;; *) echo "Something else" ;; esac All cases displays information properly… Discussion Thread by kww228 in Software Development
2 Years Ago
…) ; transmitAckOverUDP(newblock) | timeout: transmitAckOverUDP(lastblock) esac until newblock==lastblock+1 ; lastblock… Discussion Thread by mile_1 in Programming
2 Months Ago
…) ; transmitAckOverUDP(newblock) | timeout: transmitAckOverUDP(lastblock) esac until newblock==lastblock+1 ; lastblock… Discussion Thread by mile_1 in Programming
What does "repeat" symbolize (lines 6 and 7)? Reply by rubberman
2 Months Ago