(CommandList children: [ (C {(set)} {(-e)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PATH) op: Equal rhs: {(/bin) (Lit_Other ':') (/usr/bin) (Lit_Other ':') (/sbin) (Lit_Other ':') (/usr/sbin)} spids: [39] ) ] spids: [39] ) (C {(export)} {(PATH)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:BLOCKSIZE) op:Equal rhs:{(10240)} spids:[53])] spids: [53] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {($ VSub_Pound '$#')} {(-ne)} {(2)} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [ (C {(echo)} {(DQ ('make-memstick.sh /path/to/directory /path/to/image/file'))}) (C {(exit)} {(1)}) ] spids: [-1 70] ) ] spids: [-1 84] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:tempfile) op: Equal rhs: {(DQ (${ VSub_Number 2) (.) ($ VSub_Dollar '$$'))} spids: [87] ) ] spids: [87] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(KW_Bang '!')} {(-d)} {(${ VSub_Number 1)} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [(C {(echo)} {(DQ (${ VSub_Number 1) (' must be a directory'))}) (C {(exit)} {(1)})] spids: [-1 112] ) ] spids: [-1 129] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(-e)} {(${ VSub_Number 2)} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [(C {(echo)} {(DQ ("won't overwrite ") (${ VSub_Number 2))}) (C {(exit)} {(1)})] spids: [-1 145] ) ] spids: [-1 162] ) (SimpleCommand words: [{(echo)} {(SQ <'/dev/da0s3 / ufs ro,noatime 1 1'>)}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(${ VSub_Number 1) (/etc/fstab)} spids: [171] ) ] ) (SimpleCommand words: [{(echo)} {(SQ <'root_rw_mount="NO"'>)}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(${ VSub_Number 1) (/etc/rc.conf.local)} spids: [184] ) ] ) (C {(rm)} {(-f)} {(${ VSub_Name tempfile)}) (C {(makefs)} {(-B)} {(big)} {(-o)} {(Lit_VarLike 'version=') (2)} {(${ VSub_Name tempfile)} {(${ VSub_Number 1)} ) (C {(rm)} {(${ VSub_Number 1) (/etc/fstab)}) (C {(rm)} {(${ VSub_Number 1) (/etc/rc.conf.local)}) (C {(mkimg)} {(-s)} {(apm)} {(-p)} {(freebsd-boot) (Lit_Other ':') (Lit_Other '=') (${ VSub_Number 1) (/boot/boot1.hfs)} {(-p)} {(freebsd-ufs/FreeBSD_Install) (Lit_Other ':') (Lit_Other '=') (${ VSub_Name tempfile)} {(-o)} {(${ VSub_Number 2)} ) (C {(rm)} {(-f)} {(${ VSub_Name tempfile)}) ] )