(command.CommandList children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:TMP) op: assign_op.Equal rhs: {(ve-expected.tmp)} spids: [52] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:LC_ALL) op: assign_op.Equal rhs: {(C)} spids: [55] ) ] ) (C {(export)} {(LC_ALL)}) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:ERR) op:assign_op.Equal rhs:{(0)} spids:[62])] ) (command.Simple words: [{(cat)}] redirects: [ (redir.Redir op: (Token id:Id.Redir_Great val:'>' span_id:68) fd: -1 arg_word: {($ Id.VSub_DollarName '$TMP')} ) (redir.HereDoc op: (Token id:Id.Redir_DLess val:'<<' span_id:72) fd: -1 here_begin: {(EOT)} here_end_span_id: 83 stdin_parts: [ ('test-version-etc (PROJECT) VERSION\n') ('COPYRIGHT Free Software Foundation, Inc.\n') ('License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.\n') ('This is free software: you are free to change and redistribute it.\n') ('There is NO WARRANTY, to the extent permitted by law.\n') ('\n') ('Written by Sergey Poznyakoff and Eric Blake.\n') ] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (command.Pipeline children: [ (C {(./test-version-etc) (${ Id.VSub_Name EXEEXT)} {(--version)}) (C {(sed)} { (SQ (Token id: Id.Lit_Chars val: '1s/test-version-etc (.*) .*/test-version-etc (PROJECT) VERSION/\n' span_id: 98 ) (Token id:Id.Lit_Chars val:' /^Packaged by/d\n' span_id:99) (Token id: Id.Lit_Chars val: ' 2,3 s/Copyright (C) [0-9]\\{4,4\\}/COPYRIGHT/' span_id: 100 ) ) } ) (C {(tr)} {(-d)} {(SQ (Token id:Id.Lit_Chars val:'\\015' span_id:111))}) (C {(diff)} {(-c)} {($ Id.VSub_DollarName '$TMP')} {(-)}) ] negated: F ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:ERR) op: assign_op.Equal rhs: {(1)} spids: [127] ) ] ) ] ) (C {(rm)} {($ Id.VSub_DollarName '$TMP')}) (command.ControlFlow token: (Token id:Id.ControlFlow_Exit val:exit span_id:136) arg_word: {($ Id.VSub_DollarName '$ERR')} ) ] )