(List (= scope= flags=0 words=[] bindings=[('test_description', {[SQ ]})]) (Com {[LIT_CHARS .]} {[LIT_CHARS ./lib-git-p4.sh]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ f-ascii &&\n"> f-utf16 &&\n"> ]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ k-text-k &&\n"> k-utf16-k &&\n"> ]} ) (FunctionDef build_smush [] (AndOr OP_AND_IF (Com {[LIT_CHARS cat]} < (FilenameRedirectNode filename={[LIT_CHARS k_smush.py]} "> 1), (HereDocRedirectNode here_end='EOF' do_expansion=False body_word={[LIT_CHARS "import re, sys\n"] [LIT_CHARS "sys.stdout.write(re.sub(r'(?i)\\$(Id|Header|Author|Date|DateTime|Change|File|Revision):[^$]*\\$', r'$\\1$', sys.stdin.read()))\n"]} 0), > ) (Com {[LIT_CHARS cat]} < (FilenameRedirectNode filename={[LIT_CHARS ko_smush.py]} "> 1), (HereDocRedirectNode here_end='EOF' do_expansion=False body_word={[LIT_CHARS "import re, sys\n"] [LIT_CHARS "sys.stdout.write(re.sub(r'(?i)\\$(Id|Header):[^$]*\\$', r'$\\1$', sys.stdin.read()))\n"]} 0), > ) ) ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ cli-k-text-k-smush &&\n"> cli-k-text-ko-smush &&\n"> ]} ) (FunctionDef build_gendouble [] (Com {[LIT_CHARS cat]} < (FilenameRedirectNode filename={[LIT_CHARS gendouble.py]} "> 1), (HereDocRedirectNode here_end='EOF' do_expansion=False body_word={[LIT_CHARS "import sys\n"] [LIT_CHARS "import struct\n"] [LIT_CHARS "import array\n"] [LIT_CHARS "\n"] [LIT_CHARS "s = array.array(\"c\", '\\0' * 26)\n"] [LIT_CHARS "struct.pack_into(\">L\", s, 0, 0x00051607) # AppleDouble\n"] [LIT_CHARS "struct.pack_into(\">L\", s, 4, 0x00020000) # version 2\n"] [LIT_CHARS "s.tofile(sys.stdout)\n"]} 0), > ) ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ double.png &&\n"> %double.png &&\n"> ]} ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]} ) (Com {[LIT_CHARS test_done]} ) )