(command.CommandList children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:WKGDIR) op: assign_op.Equal rhs: {(DQ (command_sub left_token:<Id.Left_Backtick '`'> child:(C {<pwd>})))} spids: [37] ) ] ) (C {<echo>} {(DQ <'Configuring Puppy skeleton...'>)}) (C {<rm>} {<-f>} {<'/tmp/fbvideomode.txt'>}) (C {<echo>} {(DQ <'Configuring Puppy Help page...'>)}) (C {<cp>} {<-f>} {<'usr/share/doc/index.html.top'>} {<'usr/share/doc/index.html.top-raw'>}) (C {<cp>} {<-f>} {<'usr/share/doc/index.html.bottom'>} {<'usr/share/doc/index.html.bottom-raw'>}) (C {<cp>} {<-f>} {<'usr/share/doc/home.htm'>} {<'usr/share/doc/home-raw.htm'>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:cutDISTRONAME) op: assign_op.Equal rhs: { (DQ (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {<echo>} {<-n>} {(DQ ($ Id.VSub_DollarName '$DISTRO_NAME'))}) (C {<cut>} {<-f>} {<1>} {<-d>} {(SQ <' '>)}) ] negated: F ) ) ) } spids: [108] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:cPATTERN) op: assign_op.Equal rhs: {(DQ <'s/cutDISTRONAME/'> (${ Id.VSub_Name cutDISTRONAME) <'/g'>)} spids: [137] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:RIGHTVER) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$DISTRO_VERSION'))} spids: [146] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:PUPPYDATE) op: assign_op.Equal rhs: { (DQ (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {<date>}) (C {<tr>} {<-s>} {(DQ <' '>)}) (C {<cut>} {<-f>} {<2> <Id.Lit_Comma ','> <6>} {<-d>} {(DQ <' '>)}) ] negated: F ) ) ) } spids: [151] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:RELEASE_DATE) op: assign_op.Equal rhs: {(DQ (command_sub left_token:<Id.Left_Backtick '`'> child:(C {<date>} {(DQ <'+%B, %Y'>)})))} spids: [186] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:dPATTERN) op: assign_op.Equal rhs: {(DQ <'s/PUPPYDATE/'> (${ Id.VSub_Name PUPPYDATE) <'/g'>)} spids: [199] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:rPATTERN) op: assign_op.Equal rhs: {(DQ <'s/RELEASE_DATE/'> (${ Id.VSub_Name RELEASE_DATE) <'/g'>)} spids: [208] ) ] ) (C {<echo>} {(DQ <'Writing version number and distro name and date to Help page...'>)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:PATTERN1) op: assign_op.Equal rhs: {(DQ <'s/RIGHTVER/'> (${ Id.VSub_Name RIGHTVER) <'/g'>)} spids: [224] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:PATTERN2) op: assign_op.Equal rhs: {(DQ <'s/DISTRO_VERSION/'> (${ Id.VSub_Name DISTRO_VERSION) <'/g'>)} spids: [233] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:nPATTERN) op: assign_op.Equal rhs: {(DQ <'s/DISTRO_NAME/'> (${ Id.VSub_Name DISTRO_NAME) <'/g'>)} spids: [242] ) ] ) (C {<sed>} {<-i>} {<-e>} {(DQ ($ Id.VSub_DollarName '$PATTERN1'))} {<-e>} {(DQ ($ Id.VSub_DollarName '$PATTERN2'))} {<-e>} {(DQ ($ Id.VSub_DollarName '$nPATTERN'))} {<-e>} {(DQ ($ Id.VSub_DollarName '$dPATTERN'))} {<-e>} {(DQ ($ Id.VSub_DollarName '$cPATTERN'))} {<'usr/share/doc/index.html.top'>} ) (C {<sed>} {<-i>} {<-e>} {(DQ ($ Id.VSub_DollarName '$PATTERN1'))} {<-e>} {(DQ ($ Id.VSub_DollarName '$PATTERN2'))} {<-e>} {(DQ ($ Id.VSub_DollarName '$nPATTERN'))} {<-e>} {(DQ ($ Id.VSub_DollarName '$dPATTERN'))} {<'usr/share/doc/index.html.bottom'>} ) (C {<echo>} {(DQ <'Writing distro name to jumping-off page...'>)}) (C {<sed>} {<-i>} {<-e>} {(DQ ($ Id.VSub_DollarName '$nPATTERN'))} {<'usr/share/doc/home.htm'>}) (C {<echo>} {(DQ <'Creating base release notes...'>)}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {<Id.KW_Bang '!'>} {<-e>} {<'usr/share/doc/release-'> (${ Id.VSub_Name cutDISTRONAME) <-> (${ Id.VSub_Name DISTRO_VERSION) <.htm> } {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<mv>} {<-f>} {<'usr/share/doc/release-skeleton.htm'>} {<'usr/share/doc/release-'> (${ Id.VSub_Name cutDISTRONAME) <-> (${ Id.VSub_Name DISTRO_VERSION) <.htm> } ) (C {<sed>} {<-i>} {<-e>} {(DQ ($ Id.VSub_DollarName '$PATTERN1'))} {<-e>} {(DQ ($ Id.VSub_DollarName '$PATTERN2'))} {<-e>} {(DQ ($ Id.VSub_DollarName '$nPATTERN'))} {<-e>} {(DQ ($ Id.VSub_DollarName '$rPATTERN'))} {<'usr/share/doc/release-'> (${ Id.VSub_Name cutDISTRONAME) <-> (${ Id.VSub_Name DISTRO_VERSION) <.htm> } ) ] spids: [346 366] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {<Id.KW_Bang '!'>} {<-e>} {<'usr/share/doc/release-'> (${ Id.VSub_Name cutDISTRONAME) <-> (${ Id.VSub_Name RIGHTVER) <.htm> } {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<ln>} {<-s>} {<release-> (${ Id.VSub_Name cutDISTRONAME) <-> (${ Id.VSub_Name DISTRO_VERSION) <.htm>} {<'usr/share/doc/release-'> (${ Id.VSub_Name cutDISTRONAME) <-> (${ Id.VSub_Name RIGHTVER) <.htm>} ) ] spids: [432 452] ) ] ) (C {<.>} {<'etc/DISTRO_SPECS'>}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {<-f>} {<'../../support/release_extras/'> (DQ (${ Id.VSub_Name DISTRO_FILE_PREFIX) <.htm>) } {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<echo>} { (DQ <'Customising '> (${ Id.VSub_Name cutDISTRONAME) <-> (${ Id.VSub_Name DISTRO_VERSION) <.htm> ) } ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<Id.Lit_LBracket '['>} {<-f>} {<'/tmp/release.htm'>} {<Id.Lit_RBracket ']'>}) (C {<rm>} {<'/tmp/release.'> <Id.Lit_Star '*'> <m>}) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:ctrl) op: assign_op.Equal rhs: {<0>} spids: [539] ) ] ) (command.WhileUntil keyword: <Id.KW_While while> cond: (condition.Shell commands: [ (command.Sentence child: (C {<read>} {<htmline>}) terminator: <Id.Op_Semi _> ) ] ) body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {($ Id.VSub_DollarName '$ctrl')} {<-lt>} {<45>} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Simple words: [{<echo>} {(DQ ($ Id.VSub_DollarName '$htmline'))}] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {<'/tmp/release.htm'>} ) ] do_fork: T ) ] spids: [552 564] ) ] else_action: [ (command.Simple words: [{<echo>} {(DQ ($ Id.VSub_DollarName '$htmline'))}] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {<'/tmp/release.bottom'>} ) ] do_fork: T ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:ctrl) op: assign_op.Equal rhs: { (word_part.ArithSub anode: (arith_expr.Binary op_id: Id.Arith_Plus left: {($ Id.VSub_DollarName '$ctrl')} right: {<Id.Lit_Digits 1>} ) ) } spids: [598] ) ] ) ] ) redirects: [ (redir op: <Id.Redir_Less '<'> loc: (redir_loc.Fd fd:0) arg: {<'usr/share/doc/release-'> (${ Id.VSub_Name cutDISTRONAME) <-> (${ Id.VSub_Name DISTRO_VERSION) <.htm> } ) ] ) (command.Simple words: [ {<cat>} {(DQ <'../../support/release_extras/'> (${ Id.VSub_Name DISTRO_FILE_PREFIX) <.htm>)} ] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {<'/tmp/release.htm'>} ) ] do_fork: T ) (C {<sed>} {<-i>} {(DQ <'s/DISTRO_VERSION/'> ($ Id.VSub_DollarName '$DISTRO_VERSION') <'/g'>)} {<'/tmp/release.htm'>} ) (command.Simple words: [{<cat>} {<'/tmp/release.bottom'>}] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {<'/tmp/release.htm'>} ) ] do_fork: T ) (C {<cp>} {<-af>} {<'/tmp/release.htm'>} {<'usr/share/doc/release-'> (${ Id.VSub_Name cutDISTRONAME) <-> (${ Id.VSub_Name DISTRO_VERSION) <.htm> } ) ] spids: [488 504] ) ] ) (command.Simple words: [{<echo>} {<-n>} {(DQ <vmlinuz>)}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'/tmp/vmlinuzforpup.txt'>} ) ] do_fork: T ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {<-f>} {<'./etc/xdg/templates/_root_.icewm_menu'>} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} { (DQ (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<find>} {<'./usr/local/bin'>} {<'./usr/bin'>} {<'./usr/sbin'>} {<'./usr/X11R7/bin'>} {<-maxdepth>} {<1>} {<-type>} {<f>} {<-name>} {<evilwm>} ) ) ) } {<Id.Lit_Equals '='>} {(DQ )} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Simple words: [ {<grep>} {<-v>} {(SQ <' evilwm$'>)} {<'./etc/xdg/templates/_root_.icewm_menu'>} ] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'/tmp/_root_.icewm_menu'>} ) ] do_fork: T ) (C {<mv>} {<-f>} {<'/tmp/_root_.icewm_menu'>} {<'./etc/xdg/templates/'>}) ] spids: [722 761] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} { (DQ (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<find>} {<'./usr/local/bin'>} {<'./usr/bin'>} {<'./usr/sbin'>} {<'./usr/X11R7/bin'>} {<-maxdepth>} {<1>} {<-type>} {<f>} {<-name>} {<fluxbox>} ) ) ) } {<Id.Lit_Equals '='>} {(DQ )} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Simple words: [ {<grep>} {<-v>} {(SQ <' fluxbox$'>)} {<'./etc/xdg/templates/_root_.icewm_menu'>} ] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'/tmp/_root_.icewm_menu'>} ) ] do_fork: T ) (C {<mv>} {<-f>} {<'/tmp/_root_.icewm_menu'>} {<'./etc/xdg/templates/'>}) ] spids: [791 830] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} { (DQ (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<find>} {<'./usr/local/bin'>} {<'./usr/bin'>} {<'./usr/sbin'>} {<'./usr/X11R7/bin'>} {<-maxdepth>} {<1>} {<-type>} {<f>} {<-name>} {<fvwm95>} ) ) ) } {<Id.Lit_Equals '='>} {(DQ )} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Simple words: [ {<grep>} {<-v>} {(SQ <' fvwm95$'>)} {<'./etc/xdg/templates/_root_.icewm_menu'>} ] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'/tmp/_root_.icewm_menu'>} ) ] do_fork: T ) (C {<mv>} {<-f>} {<'/tmp/_root_.icewm_menu'>} {<'./etc/xdg/templates/'>}) ] spids: [860 899] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} { (DQ (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<find>} {<'./usr/local/bin'>} {<'./usr/bin'>} {<'./usr/sbin'>} {<'./usr/X11R7/bin'>} {<-maxdepth>} {<1>} {<-type>} {<f>} {<-name>} {<jwm>} ) ) ) } {<Id.Lit_Equals '='>} {(DQ )} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Simple words: [ {<grep>} {<-v>} {(SQ <' jwm$'>)} {<'./etc/xdg/templates/_root_.icewm_menu'>} ] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'/tmp/_root_.icewm_menu'>} ) ] do_fork: T ) (C {<mv>} {<-f>} {<'/tmp/_root_.icewm_menu'>} {<'./etc/xdg/templates/'>}) ] spids: [929 968] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} { (DQ (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<find>} {<'./usr/local/bin'>} {<'./usr/bin'>} {<'./usr/sbin'>} {<'./usr/X11R7/bin'>} {<-maxdepth>} {<1>} {<-type>} {<f>} {<-name>} {<pwm>} ) ) ) } {<Id.Lit_Equals '='>} {(DQ )} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Simple words: [ {<grep>} {<-v>} {(SQ <' pwm$'>)} {<'./etc/xdg/templates/_root_.icewm_menu'>} ] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'/tmp/_root_.icewm_menu'>} ) ] do_fork: T ) (C {<mv>} {<-f>} {<'/tmp/_root_.icewm_menu'>} {<'./etc/xdg/templates/'>}) ] spids: [998 1037] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} { (DQ (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<find>} {<'./usr/local/bin'>} {<'./usr/bin'>} {<'./usr/sbin'>} {<'./usr/X11R7/bin'>} {<-maxdepth>} {<1>} {<-type>} {<f>} {<-name>} {<xfce4-session>} ) ) ) } {<Id.Lit_Equals '='>} {(DQ )} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Simple words: [ {<grep>} {<-v>} {(SQ <' xfce4-session$'>)} {<'./etc/xdg/templates/_root_.icewm_menu'>} ] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'/tmp/_root_.icewm_menu'>} ) ] do_fork: T ) (C {<mv>} {<-f>} {<'/tmp/_root_.icewm_menu'>} {<'./etc/xdg/templates/'>}) ] spids: [1067 1106] ) ] ) ] spids: [709 719] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:TAS) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<find>} {<'usr/bin'>} {<'usr/sbin'>} {<'usr/local/bin'>} {<-name>} {<tas>}) ) } spids: [1141] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:SCREENY) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<find>} {<'usr/bin'>} {<'usr/sbin'>} {<-name>} {(SQ <screeny>)}) ) } spids: [1158] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {(DQ ($ Id.VSub_DollarName '$TAS'))} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Simple words: [{<echo>} {(SQ <'#!/bin/sh\n'> <'exec tas'>)}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'usr/local/bin/defaultscreenshot'>} ) ] do_fork: T ) (C {<chmod>} {<755>} {<'usr/local/bin/defaultscreenshot'>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:SCR) op: assign_op.Equal rhs: {<tas>} spids: [1204] ) ] ) ] spids: [1175 1185] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {(DQ ($ Id.VSub_DollarName '$SCREENY'))} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Simple words: [{<echo>} {(SQ <'#!/bin/sh\n'> <'exec screeny'>)}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'usr/local/bin/defaultscreenshot'>} ) ] do_fork: T ) (C {<chmod>} {<755>} {<'usr/local/bin/defaultscreenshot'>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:SCR) op: assign_op.Equal rhs: {<screeny>} spids: [1236] ) ] ) ] spids: [1207 1217] ) ] else_action: [ (command.Simple words: [{<echo>} {(SQ <'#!/bin/sh\n'> <'exec mtpaint -s'>)}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'usr/local/bin/defaultscreenshot'>} ) ] do_fork: T ) (C {<chmod>} {<755>} {<'usr/local/bin/defaultscreenshot'>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:SCR) op: assign_op.Equal rhs: {(DQ <'mtpaint -s'>)} spids: [1258] ) ] ) ] ) (C {<echo>} {(DQ <'Setting '> ($ Id.VSub_DollarName '$SCR') <' as defaultscreenshot app'>)}) ] )