(command.CommandList children: [ (command.Simple words: [{<echo>} {(SQ <'#include <pcap/export-defs.h>'>)}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {(DQ ($ Id.VSub_Number '$2'))} ) ] do_fork: T ) (command.Simple words: [{<echo>} {(SQ <PCAP_API_DEF>)}] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {(DQ ($ Id.VSub_Number '$2'))} ) ] do_fork: T ) (command.Pipeline children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.Simple words: [{<grep>} {<GIT>} {(DQ ($ Id.VSub_Number '$1'))}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'/dev/null'>} ) ] do_fork: T ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Simple words: [{<read>} {<ver>}] redirects: [ (redir op: <Id.Redir_Less '<'> loc: (redir_loc.Fd fd:0) arg: {(DQ ($ Id.VSub_Number '$1'))} ) ] do_fork: T ) (command.Pipeline children: [ (C {<echo>} {($ Id.VSub_DollarName '$ver')}) (C {<tr>} {<-d>} {(SQ <'\\012'>)}) ] negated: F ) (C {<date>} {<Id.Lit_Other '+'> <Id.Lit_Underscore _> <Id.Lit_Other '%'> <Y_> <Id.Lit_Other '%'> <m_> <Id.Lit_Other '%'> <d> } ) ] spids: [27 41] ) ] else_action: [(C {<cat>} {(DQ ($ Id.VSub_Number '$1'))})] ) (command.Simple words: [{<sed>} {<-e>} {(SQ <'s/.*/char pcap_version[] = "&";/'>)}] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {(DQ ($ Id.VSub_Number '$2'))} ) ] do_fork: T ) ] negated: F ) ] )