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