(CommandList children: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:currentVersion) op:Equal rhs:{(DQ (1.11.1))} spids:[20])] spids: [20] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:configuredClient) op:Equal rhs:{(DQ )} spids:[25])] spids: [25] ) (FuncDef name: getConfiguredClient body: (BraceGroup children: [ (If arms: [ (if_arm cond: [ (Sentence child: (SimpleCommand words: [{(command)} {(-v)} {(curl)}] redirects: [ (Redir op: <Redir_AndGreat '&>'> fd: 16777215 arg_word: {(/dev/null)} ) ] ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:configuredClient) op: Equal rhs: {(DQ (curl))} spids: [56] ) ] spids: [56] ) ] spids: [16777215 53] ) (if_arm cond: [ (Sentence child: (SimpleCommand words: [{(command)} {(-v)} {(wget)}] redirects: [ (Redir op: <Redir_AndGreat '&>'> fd: 16777215 arg_word: {(/dev/null)} ) ] ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:configuredClient) op: Equal rhs: {(DQ (wget))} spids: [78] ) ] spids: [78] ) ] spids: [62 75] ) (if_arm cond: [ (Sentence child: (SimpleCommand words: [{(command)} {(-v)} {(fetch)}] redirects: [ (Redir op: <Redir_AndGreat '&>'> fd: 16777215 arg_word: {(/dev/null)} ) ] ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:configuredClient) op: Equal rhs: {(DQ (fetch))} spids: [100] ) ] spids: [100] ) ] spids: [84 97] ) ] else_action: [ (C {(echo)} {(DQ ('Error: This tool reqires either curl, wget, or fetch to be installed.'))} ) (ControlFlow token:<ControlFlow_Return return> arg_word:{(1)}) ] spids: [106 121] ) ] spids: [37] ) spids: [33 36] ) (FuncDef name: httpGet body: (BraceGroup children: [ (Case to_match: {(DQ ($ VSub_Name '$configuredClient'))} arms: [ (case_arm pat_list: [{(curl)}] action: [(C {(curl)} {(-A)} {(curl)} {(-s)} {(DQ ($ VSub_At '$@'))})] spids: [146 147 160 16777215] ) (case_arm pat_list: [{(wget)}] action: [(C {(wget)} {(-qO-)} {(DQ ($ VSub_At '$@'))})] spids: [163 164 173 16777215] ) (case_arm pat_list: [{(fetch)}] action: [(C {(fetch)} {(-o)} {(DQ (...))})] spids: [176 177 186 16777215] ) ] spids: [137 143 189] ) ] spids: [134] ) spids: [130 133] ) (FuncDef name: usage body: (BraceGroup children: [ (C {(echo)} {(DQ (Geo))}) (C {(echo)} { (DQ ( 'Description: Provides quick access for wan, lan, router, dns, mac, and ip geolocation data' ) ) } ) (C {(echo)} {(DQ ('Usage: geo [flag]'))}) (C {(echo)} {(DQ (' -w Returns WAN IP'))}) (C {(echo)} {(DQ (' -l Returns LAN IP(s)'))}) (C {(echo)} {(DQ (' -r Returns Router IP'))}) (C {(echo)} {(DQ (' -d Returns DNS Nameserver'))}) (C {(echo)} {(DQ (' -m Returns MAC address for interface. Ex. eth0'))}) (C {(echo)} {(DQ (' -g Returns Current IP Geodata'))}) (C {(echo)} {(DQ ('Examples:'))}) (C {(echo)} {(DQ (' geo -g'))}) (C {(echo)} {(DQ (' geo -wlrdgm eth0'))}) (C {(echo)} {(DQ ('Custom Geo Output =>'))}) (C {(echo)} {(DQ ('[all] [query] [city] [region] [country] [zip] [isp]'))}) (C {(echo)} {(DQ ('Example: geo -a 8.8.8.8 -o city,zip,isp'))}) (C {(echo)} {(DQ (' -o [options] Returns Specific Geodata'))}) (C {(echo)} {(DQ (' -a [address] For specific ip in -s'))}) (C {(echo)} {(DQ (' -v Returns Version'))}) (C {(echo)} {(DQ (' -h Returns Help Screen'))}) (C {(echo)} {(DQ (' -u Updates Bash-Snippets'))}) (ControlFlow token:<ControlFlow_Exit exit>) ] spids: [200] ) spids: [196 199] ) (FuncDef name: version body: (BraceGroup children: [ (Sentence child: (C {(echo)} {(DQ ('Version ') ($ VSub_Name '$currentVersion'))}) terminator: <Op_Semi ';'> ) ] spids: [355] ) spids: [351 354] ) (FuncDef name: wan_search body: (BraceGroup children: [ (C {(dig)} {(Lit_Other '+') (short)} {(myip.opendns.com)} {(Lit_Other '@') (resolver1.opendns.com)} ) ] spids: [376] ) spids: [372 375] ) (FuncDef name: lan_search body: (BraceGroup children: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} { (DQ (CommandSubPart command_list: (CommandList children:[(C {(uname)})]) left_token: <Left_CommandSub '$('> spids: [407 409] ) ) } {(Lit_Other '=')} {(DQ (Darwin))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (Pipeline children: [ (C {(ifconfig)}) (C {(grep)} {(-Eo)} {(SQ <'inet (addr:)?([0-9]*\\.){3}[0-9]*'>)}) (C {(grep)} {(-Eo)} {(SQ <'([0-9]*\\.){3}[0-9]*'>)}) (C {(grep)} {(-v)} {(SQ <127.0.0.1>)}) ] negated: F ) ] spids: [16777215 421] ) (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} { (DQ (CommandSubPart command_list: (CommandList children:[(C {(uname)} {(-s)})]) left_token: <Left_CommandSub '$('> spids: [462 466] ) ) } {(Lit_Other '=')} {(DQ (Linux))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (Pipeline children: [ (C {(ip)} {(addr)} {(show)}) (C {(grep)} {(-Eo)} {(SQ <'inet (addr:)?([0-9]*\\.){3}[0-9]*'>)}) (C {(grep)} {(-Eo)} {(SQ <'([0-9]*\\.){3}[0-9]*'>)}) (C {(grep)} {(-v)} {(SQ <127.0.0.1>)}) ] negated: F ) ] spids: [457 478] ) ] else_action: [ (C {(echo)} {(DQ ('OS not supported'))}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [518 533] ) ] spids: [399] ) spids: [395 398] ) (FuncDef name: router_search body: (BraceGroup children: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} { (DQ (CommandSubPart command_list: (CommandList children:[(C {(uname)})]) left_token: <Left_CommandSub '$('> spids: [553 555] ) ) } {(Lit_Other '=')} {(DQ (Darwin))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (Pipeline children: [ (C {(netstat)} {(-rn)}) (C {(grep)} {(default)}) (C {(head)} {(-1)}) (C {(awk)} {(SQ <'{print$2}'>)}) ] negated: F ) ] spids: [16777215 567] ) (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} { (DQ (CommandSubPart command_list: (CommandList children:[(C {(uname)} {(-s)})]) left_token: <Left_CommandSub '$('> spids: [600 604] ) ) } {(Lit_Other '=')} {(DQ (Linux))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (Pipeline children: [ (C {(ip)} {(route)}) (C {(grep)} {(Lit_Other '^') (default) (SQ <'\\s'>) (via)}) (C {(head)} {(-1)}) (C {(awk)} {(SQ <'{print$3}'>)}) ] negated: F ) ] spids: [595 616] ) ] else_action: [ (C {(echo)} {(DQ ('OS not supported'))}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [649 664] ) ] spids: [545] ) spids: [541 544] ) (FuncDef name: dns_search body: (BraceGroup children: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} { (DQ (CommandSubPart command_list: (CommandList children:[(C {(uname)})]) left_token: <Left_CommandSub '$('> spids: [684 686] ) ) } {(Lit_Other '=')} {(DQ (Darwin))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (Pipeline children: [ (C {(grep)} {(-i)} {(nameserver)} {(/etc/resolv.conf)}) (C {(head)} {(-n1)}) (C {(cut)} {(-d)} {(SQ <' '>)} {(-f2)}) ] negated: F ) ] spids: [16777215 698] ) (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} { (DQ (CommandSubPart command_list: (CommandList children:[(C {(uname)} {(-s)})]) left_token: <Left_CommandSub '$('> spids: [730 734] ) ) } {(Lit_Other '=')} {(DQ (Linux))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (Pipeline children: [ (C {(cat)} {(/etc/resolv.conf)}) (C {(grep)} {(-i)} {(Lit_Other '^') (nameserver)}) (C {(cut)} {(-d)} {(SQ <' '>)} {(-f2)}) ] negated: F ) ] spids: [725 746] ) ] else_action: [ (C {(echo)} {(DQ ('OS not supported'))}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [775 790] ) ] spids: [676] ) spids: [672 675] ) (FuncDef name: mac_search body: (BraceGroup children: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} { (DQ (CommandSubPart command_list: (CommandList children:[(C {(uname)})]) left_token: <Left_CommandSub '$('> spids: [810 812] ) ) } {(Lit_Other '=')} {(DQ (Darwin))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (Pipeline children: [ (C {(ifconfig)} {(DQ ($ VSub_Name '$MAC'))}) (C {(grep)} {(-o)} {(-E)} {(SQ <'([[:xdigit:]]{1,2}:){5}[[:xdigit:]]{1,2}'>)}) ] negated: F ) ] spids: [16777215 824] ) (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} { (DQ (CommandSubPart command_list: (CommandList children:[(C {(uname)} {(-s)})]) left_token: <Left_CommandSub '$('> spids: [851 855] ) ) } {(Lit_Other '=')} {(DQ (Linux))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (Pipeline children: [ (C {(ip)} {(addr)} {(show)} {(DQ ($ VSub_Name '$MAC'))}) (C {(grep)} {(-o)} {(-E)} {(SQ <'([[:xdigit:]]{1,2}:){5}[[:xdigit:]]{1,2}'>)}) (C {(grep)} {(-v)} {(ff) (Lit_Other ':')}) ] negated: F ) ] spids: [846 867] ) ] else_action: [ (C {(echo)} {(DQ ('OS not supported'))}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [902 917] ) ] spids: [802] ) spids: [798 801] ) (FuncDef name: geodata_search body: (BraceGroup children: [ (C {(httpGet)} {(DQ ('http://ip-api.com/line/?fields=query,city,region,country,zip,isp'))}) ] spids: [929] ) spids: [925 928] ) (FuncDef name: specific_geo body: (BraceGroup children: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(DQ ($ VSub_Name '$OPTIONS'))} {(Lit_Other '=')} {(DQ (all))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (C {(httpGet)} { (DQ ('http://ip-api.com/line/') (${ VSub_Name ADDRESS) ('?fields=query,city,region,country,zip,isp') ) } ) ] spids: [16777215 968] ) ] else_action: [ (C {(httpGet)} { (DQ ('http://ip-api.com/line/') (${ VSub_Name ADDRESS) ('?fields=') (${ VSub_Name OPTIONS) ) } ) ] spids: [982 999] ) ] spids: [948] ) spids: [944 947] ) (FuncDef name: update body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:repositoryName) op: Equal rhs: {(DQ (Bash-Snippets))} spids: [1024] ) ] spids: [1024] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:githubUserName) op: Equal rhs: {(DQ (alexanderepstein))} spids: [1033] ) ] spids: [1033] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:nameOfInstallFile) op: Equal rhs: {(DQ (install.sh))} spids: [1042] ) ] spids: [1042] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:latestVersion) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(httpGet)} {(https) (Lit_Other ':') (//api.github.com/repos/) ($ VSub_Name '$githubUserName') (/) ($ VSub_Name '$repositoryName') (/tags) } ) (C {(grep)} {(-Eo)} {(SQ <'"name":.*?[^\\\\]",'>)}) (C {(head)} {(-1)}) (C {(grep)} {(-Eo)} {(DQ ('[0-9.]+'))}) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [1052 1088] ) } spids: [1051] ) ] spids: [1051] ) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (LogicalOr left: (BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_Name '$currentVersion')} right: {(DQ )} ) right: (LogicalOr left: (BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_Name '$repositoryName')} right: {(DQ )} ) right: (LogicalOr left: (BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_Name '$githubUserName')} right: {(DQ )} ) right: (BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_Name '$nameOfInstallFile')} right: {(DQ )} ) ) ) ) ) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [ {(echo)} {(DQ ('Error: update utility has not been configured correctly.'))} ] redirects: [(Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})] ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [16777215 1135] ) (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_Name '$latestVersion')} right: {(DQ )} ) ) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [{(echo)} {(DQ ('Error: no active internet connection'))}] redirects: [(Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})] ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [1153 1166] ) ] else_action: [ (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobNEqual left: {(DQ ($ VSub_Name '$latestVersion'))} right: {(DQ ($ VSub_Name '$currentVersion'))} ) ) terminator: <Op_Semi ';'> ) ] action: [ (C {(echo)} {(DQ ('Version ') ($ VSub_Name '$latestVersion') (' available'))}) (C {(echo)} {(-n)} { (DQ ('Do you wish to update ') ($ VSub_Name '$repositoryName') (' [Y/n]: ')) } ) (C {(read)} {(-r)} {(answer)}) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (LogicalOr left: (BoolBinary op_id: BoolBinary_GlobDEqual left: {(DQ ($ VSub_Name '$answer'))} right: {(DQ (Y))} ) right: (BoolBinary op_id: BoolBinary_GlobDEqual left: {(DQ ($ VSub_Name '$answer'))} right: {(DQ (y))} ) ) ) terminator: <Op_Semi ';'> ) ] action: [ (AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(TildeSubPart token:<Lit_TildeLike '~'>)}) (BraceGroup children: [ (Sentence child: (C {(echo)} {(SQ <'Update Failed'>)}) terminator: <Op_Semi ';'> ) (Sentence child: (ControlFlow token: <ControlFlow_Exit exit> arg_word: {(1)} ) terminator: <Op_Semi ';'> ) ] spids: [1272] ) ] ) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolUnary op_id: BoolUnary_d child: {(Lit_TildeLike '~') (/) ($ VSub_Name '$repositoryName') } ) ) terminator: <Op_Semi ';'> ) ] action: [ (Sentence child: (AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-r)} {(-f)} {($ VSub_Name '$repositoryName')}) (BraceGroup children: [ (Sentence child: (C {(echo)} { (DQ ( 'Permissions Error: try running the update as sudo' ) ) } ) terminator: <Op_Semi ';'> ) (Sentence child: (ControlFlow token: <ControlFlow_Exit exit> arg_word: {(1)} ) terminator: <Op_Semi ';'> ) ] spids: [1316] ) ] ) terminator: <Op_Semi ';'> ) ] spids: [16777215 1304] ) ] spids: [16777215 1334] ) (AndOr ops: [Op_DPipe] children: [ (C {(git)} {(clone)} { (DQ ('https://github.com/') ($ VSub_Name '$githubUserName') (/) ($ VSub_Name '$repositoryName') ) } ) (BraceGroup children: [ (Sentence child: (C {(echo)} {(DQ ("Couldn't download latest version"))}) terminator: <Op_Semi ';'> ) (Sentence child: (ControlFlow token: <ControlFlow_Exit exit> arg_word: {(1)} ) terminator: <Op_Semi ';'> ) ] spids: [1350] ) ] ) (AndOr ops: [Op_DPipe] children: [ (C {(cd)} {($ VSub_Name '$repositoryName')}) (BraceGroup children: [ (Sentence child: (C {(echo)} {(SQ <'Update Failed'>)}) terminator: <Op_Semi ';'> ) (Sentence child: (ControlFlow token: <ControlFlow_Exit exit> arg_word: {(1)} ) terminator: <Op_Semi ';'> ) ] spids: [1374] ) ] ) (AndOr ops: [Op_DPipe Op_DPipe] children: [ (SimpleCommand words: [ {(git)} {(checkout)} {(DQ (v) ($ VSub_Name '$latestVersion'))} ] redirects: [ (Redir op: <Redir_Great '2>'> fd: 2 arg_word: {(/dev/null)} ) ] ) (SimpleCommand words: [{(git)} {(checkout)} {(DQ ($ VSub_Name '$latestVersion'))}] redirects: [ (Redir op: <Redir_Great '2>'> fd: 2 arg_word: {(/dev/null)} ) ] ) (C {(echo)} { (DQ ( "Couldn't git checkout to stable release, updating to latest commit." ) ) } ) ] ) (C {(chmod)} {(a) (Lit_Other '+') (x)} {(install.sh)}) (AndOr ops: [Op_DPipe] children: [ (C {(./) ($ VSub_Name '$nameOfInstallFile')} {(DQ (update))}) (ControlFlow token: <ControlFlow_Exit exit> arg_word: {(1)} ) ] ) (C {(cd)} {(..)}) (AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-r)} {(-f)} {($ VSub_Name '$repositoryName')}) (BraceGroup children: [ (Sentence child: (C {(echo)} { (DQ ( 'Permissions Error: update succesfull but cannot delete temp files located at ~/' ) ($ VSub_Name '$repositoryName') (' delete this directory with sudo') ) } ) terminator: <Op_Semi ';'> ) (Sentence child: (ControlFlow token: <ControlFlow_Exit exit> arg_word: {(1)} ) terminator: <Op_Semi ';'> ) ] spids: [1469] ) ] ) ] spids: [16777215 1263] ) ] else_action: [(ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})] spids: [1488 1496] ) ] spids: [16777215 1204] ) ] else_action: [ (C {(echo)} {(DQ ($ VSub_Name '$repositoryName') (' is already the latest version'))} ) ] spids: [1499 1510] ) ] spids: [1184 1513] ) ] spids: [1009] ) spids: [1005 1008] ) (FuncDef name: checkInternet body: (BraceGroup children: [ (Pipeline children: [ (C {(echo)} {(DQ ('GET http://google.com HTTP/1.0') (Lit_Other '\\') (n) (Lit_Other '\\') (n))} ) (SimpleCommand words: [{(nc)} {(google.com)} {(80)}] redirects: [ (Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(/dev/null)}) (Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)}) ] ) ] negated: F ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {($ VSub_QMark '$?')} {(-eq)} {(0)} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [(ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})] spids: [16777215 1570] ) ] else_action: [ (SimpleCommand words: [{(echo)} {(DQ ('Error: no active internet connection'))}] redirects: [(Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})] ) (ControlFlow token:<ControlFlow_Return return> arg_word:{(1)}) ] spids: [1581 1602] ) ] spids: [1525] ) spids: [1521 1524] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:optspec) op: Equal rhs: {(DQ ('uwlrdm:go:a:vh*:'))} spids: [1611] ) ] spids: [1611] ) (WhileUntil keyword: <KW_While while> cond: [(C {(getopts)} {(DQ ($ VSub_Name '$optspec'))} {(optchar)})] body: (DoGroup children: [ (Case to_match: {(DQ (${ VSub_Name optchar))} arms: [ (case_arm pat_list: [{(w)}] action: [(C {(wan_search)})] spids: [1640 1641 1645 16777215] ) (case_arm pat_list: [{(l)}] action: [(C {(lan_search)})] spids: [1648 1649 1653 16777215] ) (case_arm pat_list: [{(r)}] action: [(C {(router_search)})] spids: [1656 1657 1661 16777215] ) (case_arm pat_list: [{(d)}] action: [(C {(dns_search)})] spids: [1664 1665 1669 16777215] ) (case_arm pat_list: [{(m)}] action: [ (SimpleCommand words: [{(mac_search)}] more_env: [(env_pair name:MAC val:{($ VSub_Name '$OPTARG')} spids:[1675])] ) ] spids: [1672 1673 1679 16777215] ) (case_arm pat_list: [{(g)}] action: [ (AndOr ops: [Op_DAmp Op_DAmp Op_DPipe] children: [ (C {(getConfiguredClient)}) (C {(checkInternet)}) (C {(geodata_search)}) (ControlFlow token: <ControlFlow_Exit exit> arg_word: {(1)} ) ] ) ] spids: [1682 1683 1701 16777215] ) (case_arm pat_list: [{(a)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:ADDRESS) op: Equal rhs: {($ VSub_Name '$OPTARG')} spids: [1707] ) ] spids: [1707] ) ] spids: [1704 1705 1710 16777215] ) (case_arm pat_list: [{(o)}] action: [ (AndOr ops: [Op_DAmp Op_DAmp Op_DPipe] children: [ (C {(getConfiguredClient)}) (C {(checkInternet)}) (SimpleCommand words: [{(specific_geo)}] more_env: [ (env_pair name: OPTIONS val: {($ VSub_Name '$OPTARG')} spids: [1724] ) ] ) (ControlFlow token: <ControlFlow_Exit exit> arg_word: {(1)} ) ] ) ] spids: [1713 1714 1735 16777215] ) (case_arm pat_list: [{(v)}] action: [(C {(version)})] spids: [1738 1739 1743 16777215] ) (case_arm pat_list: [{(h)}] action: [(C {(usage)})] spids: [1746 1747 1751 16777215] ) (case_arm pat_list: [{(u)}] action: [ (AndOr ops: [Op_DAmp Op_DAmp Op_DPipe] children: [ (C {(getConfiguredClient)}) (C {(checkInternet)}) (C {(update)}) (ControlFlow token: <ControlFlow_Exit exit> arg_word: {(1)} ) ] ) ] spids: [1754 1755 1773 16777215] ) (case_arm pat_list: [{(Lit_Other '*')}] action: [(C {(usage)})] spids: [1776 1777 1781 16777215] ) ] spids: [1629 1637 1784] ) ] spids: [1626 1786] ) ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {($ VSub_Pound '$#')} {(-eq)} {(0)} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [(C {(usage)}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)})] spids: [16777215 1805] ) (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_Number '$1')} right: {(DQ (update))} ) ) terminator: <Op_Semi ';'> ) ] action: [ (AndOr ops: [Op_DAmp Op_DAmp Op_DPipe] children: [ (C {(getConfiguredClient)}) (C {(checkInternet)}) (C {(update)}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] ) ] spids: [1815 1829] ) (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_Number '$1')} right: {(DQ (help))} ) ) terminator: <Op_Semi ';'> ) ] action: [(C {(usage)}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)})] spids: [1848 1862] ) ] spids: [16777215 1872] ) ] )