{
    "pdf_info": [
        {
            "para_blocks": [
                {
                    "bbox": [
                        86,
                        112,
                        189,
                        131
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                111,
                                191,
                                133
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        111,
                                        191,
                                        133
                                    ],
                                    "type": "text",
                                    "content": "什么是 Shell？",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        168,
                        189,
                        181
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                169,
                                189,
                                181
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        169,
                                        189,
                                        181
                                    ],
                                    "type": "text",
                                    "content": "是一种程序设计语言。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        184,
                        504,
                        212
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                185,
                                504,
                                196
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        185,
                                        504,
                                        196
                                    ],
                                    "type": "text",
                                    "content": "Shell 是指一种应用程序，这个应用程序提供了一个界面，用户通过这个界面访问操作系统",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                200,
                                148,
                                213
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        200,
                                        148,
                                        213
                                    ],
                                    "type": "text",
                                    "content": "内核的服务。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        215,
                        504,
                        243
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                214,
                                506,
                                230
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        214,
                                        506,
                                        230
                                    ],
                                    "type": "text",
                                    "content": "Bash（GNU Bourne-Again Shell）是一个为 GNU 计划编写的 Unix shell，它是许多",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                230,
                                223,
                                245
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        230,
                                        223,
                                        245
                                    ],
                                    "type": "text",
                                    "content": "Linux 平台默认使用的 shell。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        246,
                        504,
                        306
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                247,
                                504,
                                259
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        247,
                                        504,
                                        259
                                    ],
                                    "type": "text",
                                    "content": "shell 是一个命令解释器，是介于操作系统内核与用户之间的一个接口层。它也是一种能力",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                263,
                                505,
                                275
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        263,
                                        505,
                                        275
                                    ],
                                    "type": "text",
                                    "content": "很强的计算机语言，被称为解释性语言或脚本语言 script。可以通过将系统调用、公共程",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                278,
                                505,
                                290
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        278,
                                        505,
                                        290
                                    ],
                                    "type": "text",
                                    "content": "序、工具和编译过的二进制程序“粘合”在一起来建立应用，这是大多数脚本语言的共同",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                294,
                                296,
                                306
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        294,
                                        296,
                                        306
                                    ],
                                    "type": "text",
                                    "content": "特征，所以脚本语言又被称为“胶水语言”。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        308,
                        505,
                        354
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                310,
                                505,
                                322
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        310,
                                        505,
                                        322
                                    ],
                                    "type": "text",
                                    "content": "Shell是系统的用户界面，提供了用户与内核进行交互操作的一种接口(命令解释器) 。它接",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                326,
                                505,
                                337
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        326,
                                        505,
                                        337
                                    ],
                                    "type": "text",
                                    "content": "收用户输入的命令并把它送入内核去执行。起着协调用户与系统的一致性和在用户与系统",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                340,
                                466,
                                354
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        340,
                                        104,
                                        354
                                    ],
                                    "type": "text",
                                    "content": "之",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        127,
                                        340,
                                        145,
                                        354
                                    ],
                                    "type": "text",
                                    "content": "间",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        169,
                                        340,
                                        186,
                                        354
                                    ],
                                    "type": "text",
                                    "content": "进",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        210,
                                        340,
                                        227,
                                        354
                                    ],
                                    "type": "text",
                                    "content": "行",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        252,
                                        340,
                                        268,
                                        354
                                    ],
                                    "type": "text",
                                    "content": "交",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        287,
                                        340,
                                        312,
                                        354
                                    ],
                                    "type": "text",
                                    "content": "互",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        334,
                                        340,
                                        351,
                                        354
                                    ],
                                    "type": "text",
                                    "content": "的",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        376,
                                        340,
                                        392,
                                        354
                                    ],
                                    "type": "text",
                                    "content": "作",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        417,
                                        340,
                                        432,
                                        354
                                    ],
                                    "type": "text",
                                    "content": "用",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        460,
                                        346,
                                        466,
                                        354
                                    ],
                                    "type": "text",
                                    "content": "。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "image",
                    "bbox": [
                        88,
                        356,
                        376,
                        502
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                88,
                                356,
                                376,
                                502
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        88,
                                        356,
                                        376,
                                        502
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                88,
                                                356,
                                                376,
                                                502
                                            ],
                                            "type": "image",
                                            "image_path": "2f1fbe30e5df1933f987b31f395caca2a97bb40a4f308e9039adf97eb01bcfc5.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 6,
                            "angle": 0,
                            "type": "image_body"
                        }
                    ],
                    "index": 6
                },
                {
                    "bbox": [
                        86,
                        511,
                        470,
                        524
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                511,
                                471,
                                527
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        511,
                                        471,
                                        527
                                    ],
                                    "type": "text",
                                    "content": "Python、PHP、Perl、javascript 等都是脚本语言，解释执行，有相似的基本特征。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        527,
                        508,
                        539
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                527,
                                511,
                                541
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        527,
                                        511,
                                        541
                                    ],
                                    "type": "text",
                                    "content": "事实上，所有的 UNIX 命令和工具再加上公共程序，对于 shell 脚本来说，都是可调用的。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        542,
                        505,
                        571
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                543,
                                505,
                                555
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        543,
                                        505,
                                        555
                                    ],
                                    "type": "text",
                                    "content": "Shell 脚本对于实现管理系统任务的自动化和执行其它重复性工作来说，非常适合，灵活强",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                559,
                                263,
                                571
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        559,
                                        263,
                                        571
                                    ],
                                    "type": "text",
                                    "content": "大，比编写编译型程序更加高效灵活。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        573,
                        505,
                        650
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                574,
                                506,
                                587
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        574,
                                        506,
                                        587
                                    ],
                                    "type": "text",
                                    "content": "内 置 命 令 ： 出 于 效 率 的 考 虑 ， 将 一 些 常 用 命 令 的 解 释 程 序 构 造 在 Shell 内 部",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                589,
                                506,
                                602
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        589,
                                        506,
                                        602
                                    ],
                                    "type": "text",
                                    "content": "外 置 命 令 ： 存 放 在 /bin 、 /sbin 目 录 下 的 命 令",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                604,
                                506,
                                618
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        604,
                                        506,
                                        618
                                    ],
                                    "type": "text",
                                    "content": "实用程序：存放在/usr/bin、/usr/sbin、/usr/share、/usr/local/bin 等目录下的实用程序",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                621,
                                506,
                                634
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        621,
                                        506,
                                        634
                                    ],
                                    "type": "text",
                                    "content": "用 户 程 序 ： 用 户 程 序 经 过 编 译 生 成 可 执 行 文 件 后 ， 可 作 为 Shell 命 令 运 行",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                636,
                                506,
                                649
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        636,
                                        506,
                                        649
                                    ],
                                    "type": "text",
                                    "content": "Shell 脚 本 ： 由 Shell 语 言 编 写 的 批 处 理 文 件 ， 可 作 为 Shell 命 令 运 行",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        667,
                        242,
                        680
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                667,
                                241,
                                681
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        667,
                                        241,
                                        681
                                    ],
                                    "type": "text",
                                    "content": "内部命令、应用程序、shell脚本",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "table",
                    "bbox": [
                        86,
                        682,
                        505,
                        758
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                86,
                                682,
                                505,
                                758
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        86,
                                        682,
                                        505,
                                        758
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                86,
                                                682,
                                                505,
                                                758
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>命\n命\n通</td><td>令\n令\n配</td><td>行\n种\n符</td><td>解\n执行\n顺序</td><td>释\nwild-card</td><td>characters</td><td>历史</td><td>I/O</td></tr></table>",
                                            "image_path": "fbf3225e75a711ea24ea1be2969ee839f31ba26037a31c311c221be798fc41e1.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 12,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 12
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 0
        },
        {
            "para_blocks": [
                {
                    "type": "table",
                    "bbox": [
                        87,
                        77,
                        500,
                        124
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                87,
                                77,
                                500,
                                124
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        87,
                                        77,
                                        500,
                                        124
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                87,
                                                77,
                                                500,
                                                124
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>管</td><td>道</td><td>pipes</td><td>(</td></tr><tr><td>命</td><td>令 替 换</td><td>或 $(</td><td>或 $()</td></tr><tr><td>Shell</td><td>编 程 语 言</td><td>Shell</td><td>Script</td></tr></table>",
                                            "image_path": "90a01365fbbf634e2472f01e6aa8771cadf377f4ff2e67d1415d7eefe32607fc.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 0,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 0
                },
                {
                    "bbox": [
                        88,
                        141,
                        163,
                        154
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                140,
                                164,
                                156
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        140,
                                        164,
                                        156
                                    ],
                                    "type": "text",
                                    "content": "都有哪些 shell？",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "table",
                    "bbox": [
                        88,
                        169,
                        337,
                        304
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                88,
                                169,
                                337,
                                304
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        88,
                                        169,
                                        337,
                                        304
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                88,
                                                169,
                                                337,
                                                304
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>Bash (Bourne Again Shell)</td><td>bash是大多数Linux系统的默认Shell。 bash与bash完全向后兼容,并且在bash的基础上增加和增 强了很多特性。 bash也包含了很多C Shell和Korn Shell中的优点。 bash有很灵活和强大的编程接口,同时又有很友好的用 户界面</td></tr><tr><td>Ksh (Korn Shell)</td><td>Korn Shell(ksh)由Dave Korn所写。它是UNIX系统上的 标准Shell。 在Linux环境下有一个专门为Linux系统编写的Korn Shell的 扩展版本,即Public Domain Korn Shell(pdksh)。</td></tr><tr><td>tcsh (csh 的扩展)</td><td>tcsh是C Shell的扩展。tcsh与csh完全向后兼容,但它包 含了更多的使用户感觉方便的新特性,其最大的提高是在 命令行编辑和历史浏览方面</td></tr></table>",
                                            "image_path": "1a6197dc2e70844015da3351b232066b3b4325449fe1854f6b0463c3e4ea69c4.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 2,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 2
                },
                {
                    "type": "table",
                    "bbox": [
                        87,
                        311,
                        508,
                        420
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                87,
                                311,
                                508,
                                420
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        87,
                                        311,
                                        508,
                                        420
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                87,
                                                311,
                                                508,
                                                420
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>(</td><td>sh</td><td>、</td><td>bash</td><td>、</td><td>ksh</td><td>、</td><td>csh</td><td>等</td><td>)</td></tr><tr><td>登</td><td></td><td>录</td><td></td><td>login</td><td></td><td>:</td><td></td><td>stu01</td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td>password</td><td>:</td><td>student01</td><td></td></tr><tr><td></td><td></td><td></td><td>注意</td><td>:</td><td>case</td><td colspan=\"3\">sensitive(上限case/lowercase)</td><td></td></tr><tr><td>提</td><td>示</td><td>符</td><td></td><td></td><td></td><td>#</td><td>、</td><td>$</td><td></td></tr><tr><td>注</td><td></td><td>销</td><td></td><td></td><td></td><td colspan=\"3\">exit/login/Ctrl+D</td><td></td></tr><tr><td>重</td><td></td><td>启</td><td></td><td>动</td><td></td><td colspan=\"3\">reboot</td><td></td></tr></table>",
                                            "image_path": "01f9555c37c1dbe9c10a9916879a391417f600c77eb93dc5a41135d92258e070.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 3,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 3
                },
                {
                    "bbox": [
                        88,
                        422,
                        179,
                        435
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                420,
                                181,
                                437
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        420,
                                        181,
                                        437
                                    ],
                                    "type": "text",
                                    "content": "关闭系统 poweroff",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        468,
                        246,
                        481
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                469,
                                246,
                                482
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        469,
                                        246,
                                        482
                                    ],
                                    "type": "text",
                                    "content": "查看系统中目前可以使用的shells",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        484,
                        160,
                        496
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                484,
                                160,
                                497
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        484,
                                        160,
                                        497
                                    ],
                                    "type": "text",
                                    "content": "Cat /etc/shells",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        499,
                        158,
                        513
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                499,
                                159,
                                513
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        499,
                                        159,
                                        513
                                    ],
                                    "type": "text",
                                    "content": "切换到sh模式",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        515,
                        103,
                        527
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                515,
                                104,
                                530
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        515,
                                        104,
                                        530
                                    ],
                                    "type": "text",
                                    "content": "Sh",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        530,
                        148,
                        543
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                530,
                                149,
                                544
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        530,
                                        149,
                                        544
                                    ],
                                    "type": "text",
                                    "content": "推出sh模式",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        547,
                        108,
                        557
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                546,
                                110,
                                560
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        546,
                                        110,
                                        560
                                    ],
                                    "type": "text",
                                    "content": "exit",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        561,
                        505,
                        606
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                562,
                                505,
                                575
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        562,
                                        505,
                                        575
                                    ],
                                    "type": "text",
                                    "content": "学习一门语言习惯与先写一个HelloWorld的程序，这里就写一个HelloWorld的脚本。下",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                578,
                                505,
                                591
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        578,
                                        505,
                                        591
                                    ],
                                    "type": "text",
                                    "content": "面启动 vim 编辑 hello.sh 脚本文件。后缀名“.sh”不是必须的，但是更容易表示这是一个",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                593,
                                159,
                                607
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        593,
                                        159,
                                        607
                                    ],
                                    "type": "text",
                                    "content": "脚本程序文件。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        624,
                        149,
                        636
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 12,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                624,
                                149,
                                638
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        624,
                                        149,
                                        638
                                    ],
                                    "type": "text",
                                    "content": "vim hello.sh",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        651,
                        147,
                        664
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 13,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                652,
                                148,
                                665
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        652,
                                        148,
                                        665
                                    ],
                                    "type": "text",
                                    "content": "#!/bin/bash",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        679,
                        189,
                        691
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 14,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                678,
                                190,
                                693
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        678,
                                        190,
                                        693
                                    ],
                                    "type": "text",
                                    "content": "# This is a comment",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        707,
                        174,
                        719
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 15,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                706,
                                176,
                                721
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        706,
                                        176,
                                        721
                                    ],
                                    "type": "text",
                                    "content": "echo Hello World",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        734,
                        252,
                        748
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                734,
                                252,
                                749
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        734,
                                        252,
                                        749
                                    ],
                                    "type": "text",
                                    "content": "上述例子包含三行，以下逐行解释。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 1
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        86,
                        79,
                        505,
                        109
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                79,
                                505,
                                91
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        79,
                                        505,
                                        91
                                    ],
                                    "type": "text",
                                    "content": "第一行以“#!”开头，说明脚本的解释器的路径位置信息。Linux 系统根据#! 及该字符串后",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                95,
                                336,
                                107
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        95,
                                        336,
                                        107
                                    ],
                                    "type": "text",
                                    "content": "面的信息确定使用哪个解释器对该脚本进行解释执行。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        121,
                        508,
                        214
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                90,
                                123,
                                505,
                                134
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        90,
                                        123,
                                        505,
                                        134
                                    ],
                                    "type": "text",
                                    "content": "上述例子中的 /bin/bash 就表明该文件是一个 BASH 程序，需要由 /bin 目录下的 bash 解",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                138,
                                505,
                                151
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        138,
                                        505,
                                        151
                                    ],
                                    "type": "text",
                                    "content": "析器来解释执行。BASH 一般是存放在 /bin 目录下，但是在有的发行版中，bash 也有可",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                153,
                                506,
                                167
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        153,
                                        506,
                                        167
                                    ],
                                    "type": "text",
                                    "content": "能被存放在 /sbin 、/usr/local/bin 、/usr/bin 、/usr/sbin 或 /usr/local/sbin 这样的目录",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                169,
                                505,
                                182
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        169,
                                        505,
                                        182
                                    ],
                                    "type": "text",
                                    "content": "下，所以在“#!”之后要正确写出解释器路径位置；可以使用 locate、find、which 或",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                185,
                                505,
                                198
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        185,
                                        505,
                                        198
                                    ],
                                    "type": "text",
                                    "content": "whereis等命令找出确定bash的具体路径位置。也可以查看/etc/shells文件内容，确定",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                200,
                                142,
                                213
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        200,
                                        142,
                                        213
                                    ],
                                    "type": "text",
                                    "content": "bash 路径。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        227,
                        370,
                        242
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                227,
                                368,
                                243
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        227,
                                        368,
                                        243
                                    ],
                                    "type": "text",
                                    "content": "另外要说明的是，该行要顶行顶格，前面不要有空行和空格。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        254,
                        502,
                        285
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                255,
                                499,
                                268
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        255,
                                        499,
                                        268
                                    ],
                                    "type": "text",
                                    "content": "第二行以“#”字符开头，表示其后的内容是注释，不需要解释执行。这些注释语句是在脚",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                271,
                                294,
                                282
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        271,
                                        294,
                                        282
                                    ],
                                    "type": "text",
                                    "content": "本中做一些注释或标记，让脚本更具可读性。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        298,
                        506,
                        343
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                297,
                                505,
                                312
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        297,
                                        505,
                                        312
                                    ],
                                    "type": "text",
                                    "content": "第三行的echo 语句的功能是把echo 后面的字符串打印到标准输出stdout。由于echo 后",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                313,
                                474,
                                328
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        313,
                                        474,
                                        328
                                    ],
                                    "type": "text",
                                    "content": "跟的是 \"Hello World\" 字符串，因此执行 echo 命令的结果是在终端上输出了 \"Hello",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                329,
                                371,
                                343
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        329,
                                        371,
                                        343
                                    ],
                                    "type": "text",
                                    "content": "World\"这个字符串。Bash脚本每行一条命令，无需“;”结束。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        357,
                        155,
                        371
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                356,
                                154,
                                371
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        356,
                                        154,
                                        371
                                    ],
                                    "type": "text",
                                    "content": "命令解释过程",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "image",
                    "bbox": [
                        92,
                        388,
                        197,
                        491
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                92,
                                388,
                                197,
                                491
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        92,
                                        388,
                                        197,
                                        491
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                92,
                                                388,
                                                197,
                                                491
                                            ],
                                            "type": "image",
                                            "image_path": "f0a7db17bad874101f01a82179061db465446ebe08a2ff895797836057ad4ded.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 6,
                            "angle": 0,
                            "type": "image_body"
                        }
                    ],
                    "index": 6
                },
                {
                    "bbox": [
                        86,
                        505,
                        459,
                        519
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                505,
                                459,
                                519
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        505,
                                        459,
                                        519
                                    ],
                                    "type": "text",
                                    "content": "当命令不在命令行中执行，而是从一个文件中执行时，该文件就称为 Shell 脚本。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        521,
                        207,
                        534
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                520,
                                205,
                                536
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        520,
                                        205,
                                        536
                                    ],
                                    "type": "text",
                                    "content": "Shell 脚本是纯文本文件。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        537,
                        309,
                        550
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                538,
                                308,
                                550
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        538,
                                        308,
                                        550
                                    ],
                                    "type": "text",
                                    "content": "Shell 脚本通常以 .sh 作为后缀名，但不是必须。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        552,
                        436,
                        565
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                552,
                                437,
                                566
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        552,
                                        437,
                                        566
                                    ],
                                    "type": "text",
                                    "content": "Shell 脚本是以行为单位的，在执行脚本的时候会分解成一行一行依次执行。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        568,
                        276,
                        581
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                569,
                                273,
                                582
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        569,
                                        273,
                                        582
                                    ],
                                    "type": "text",
                                    "content": "Shell 是一种功能强大的解释型编程语言",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        583,
                        300,
                        597
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 12,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                584,
                                299,
                                597
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        584,
                                        299,
                                        597
                                    ],
                                    "type": "text",
                                    "content": "通常用于完成特定的、较复杂的系统管理任务",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        599,
                        296,
                        613
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 13,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                599,
                                295,
                                613
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        599,
                                        295,
                                        613
                                    ],
                                    "type": "text",
                                    "content": "Shell 脚本语言非常擅长处理文本类型的数据",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        614,
                        168,
                        628
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 14,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                615,
                                168,
                                629
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        615,
                                        168,
                                        629
                                    ],
                                    "type": "text",
                                    "content": "shell 脚本的成分",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        642,
                        133,
                        655
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 15,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                642,
                                133,
                                656
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        642,
                                        133,
                                        656
                                    ],
                                    "type": "text",
                                    "content": "程序元素",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        658,
                        207,
                        671
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                658,
                                207,
                                671
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        658,
                                        207,
                                        671
                                    ],
                                    "type": "text",
                                    "content": "保留字、运算符、表达式",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        673,
                        195,
                        686
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                672,
                                195,
                                687
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        672,
                                        195,
                                        687
                                    ],
                                    "type": "text",
                                    "content": "变量、数组、输入输出",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        688,
                        294,
                        703
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 18,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                688,
                                294,
                                703
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        688,
                                        294,
                                        703
                                    ],
                                    "type": "text",
                                    "content": "控制结构（顺序、分支、循环、子程序调用）",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        705,
                        138,
                        718
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 19,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                704,
                                138,
                                719
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        704,
                                        138,
                                        719
                                    ],
                                    "type": "text",
                                    "content": "Shell 功能",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        732,
                        294,
                        745
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 20,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                732,
                                293,
                                745
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        732,
                                        293,
                                        745
                                    ],
                                    "type": "text",
                                    "content": "执行命令（内置命令、外部命令、自编程序）",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        748,
                        258,
                        761
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 21,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                748,
                                258,
                                761
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        748,
                                        258,
                                        761
                                    ],
                                    "type": "text",
                                    "content": "重定向、管道、命令替换、命令聚合",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 2
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        87,
                        79,
                        195,
                        91
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                79,
                                193,
                                93
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        79,
                                        193,
                                        93
                                    ],
                                    "type": "text",
                                    "content": "通配符、注释符、……",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        95,
                        168,
                        106
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                95,
                                169,
                                108
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        95,
                                        169,
                                        108
                                    ],
                                    "type": "text",
                                    "content": "Shell 脚本的建立",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        110,
                        227,
                        122
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                111,
                                226,
                                123
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        111,
                                        226,
                                        123
                                    ],
                                    "type": "text",
                                    "content": "使用文本编辑器编辑脚本文件",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        126,
                        155,
                        137
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                125,
                                157,
                                139
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        126,
                                        96,
                                        137
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 1",
                                    "score": 0.76
                                },
                                {
                                    "bbox": [
                                        97,
                                        125,
                                        157,
                                        139
                                    ],
                                    "type": "text",
                                    "content": "vi script-file",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        141,
                        216,
                        153
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                142,
                                215,
                                154
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        142,
                                        215,
                                        154
                                    ],
                                    "type": "text",
                                    "content": "为脚本文件添加可执行权限",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        157,
                        196,
                        169
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                155,
                                196,
                                172
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        157,
                                        97,
                                        169
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 1",
                                    "score": 0.64
                                },
                                {
                                    "bbox": [
                                        97,
                                        155,
                                        133,
                                        172
                                    ],
                                    "type": "text",
                                    "content": "chmod",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        134,
                                        158,
                                        148,
                                        169
                                    ],
                                    "type": "inline_equation",
                                    "content": "+ { \\sf x }",
                                    "score": 0.8
                                },
                                {
                                    "bbox": [
                                        148,
                                        155,
                                        196,
                                        172
                                    ],
                                    "type": "text",
                                    "content": "script-file",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        172,
                        168,
                        184
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                173,
                                169,
                                185
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        173,
                                        169,
                                        185
                                    ],
                                    "type": "text",
                                    "content": "Shell 脚本的执行",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        188,
                        170,
                        200
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                188,
                                171,
                                202
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        188,
                                        171,
                                        202
                                    ],
                                    "type": "text",
                                    "content": "在子 Shell 中执行",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        204,
                        171,
                        216
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                202,
                                173,
                                218
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        204,
                                        96,
                                        216
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 1",
                                    "score": 0.77
                                },
                                {
                                    "bbox": [
                                        97,
                                        202,
                                        173,
                                        218
                                    ],
                                    "type": "text",
                                    "content": "bash script-file",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        220,
                        144,
                        232
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                218,
                                146,
                                233
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        220,
                                        96,
                                        231
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 1",
                                    "score": 0.79
                                },
                                {
                                    "bbox": [
                                        97,
                                        218,
                                        146,
                                        233
                                    ],
                                    "type": "text",
                                    "content": "script-file",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        235,
                        180,
                        247
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                235,
                                182,
                                248
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        235,
                                        182,
                                        248
                                    ],
                                    "type": "text",
                                    "content": "在当前Shell中执行",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        250,
                        180,
                        263
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                250,
                                182,
                                265
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        251,
                                        96,
                                        263
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 1",
                                    "score": 0.76
                                },
                                {
                                    "bbox": [
                                        97,
                                        250,
                                        182,
                                        265
                                    ],
                                    "type": "text",
                                    "content": "source script-file",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        266,
                        153,
                        279
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 12,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                264,
                                154,
                                280
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        266,
                                        96,
                                        278
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 1",
                                    "score": 0.66
                                },
                                {
                                    "bbox": [
                                        97,
                                        264,
                                        154,
                                        280
                                    ],
                                    "type": "text",
                                    "content": ". script-file",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        281,
                        279,
                        294
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 13,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                282,
                                281,
                                296
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        282,
                                        281,
                                        296
                                    ],
                                    "type": "text",
                                    "content": "PATH 环境变量的默认值不包含当前目录，",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        297,
                        292,
                        310
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 14,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                295,
                                293,
                                312
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        295,
                                        293,
                                        312
                                    ],
                                    "type": "text",
                                    "content": "若脚本文件在当前目录，应使用 ./script-file",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        312,
                        279,
                        325
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 15,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                312,
                                280,
                                327
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        312,
                                        280,
                                        327
                                    ],
                                    "type": "text",
                                    "content": "PATH 环境变量的默认值包含 ~/bin 目录，",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        328,
                        303,
                        341
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                327,
                                305,
                                343
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        327,
                                        305,
                                        343
                                    ],
                                    "type": "text",
                                    "content": "用户可以将自己的脚本文件存放在 ~/bin 目录，",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        343,
                        278,
                        356
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                344,
                                278,
                                358
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        344,
                                        278,
                                        358
                                    ],
                                    "type": "text",
                                    "content": "之后即可直接调用脚本文件名执行脚本了",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        359,
                        199,
                        372
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 18,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                360,
                                199,
                                372
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        360,
                                        199,
                                        372
                                    ],
                                    "type": "text",
                                    "content": "shell脚本的编码与规范",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        386,
                        294,
                        399
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 19,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                387,
                                294,
                                400
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        387,
                                        294,
                                        400
                                    ],
                                    "type": "text",
                                    "content": "以 #! 开头：通知系统用何解释器执行此脚本",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        402,
                        146,
                        414
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 20,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                402,
                                148,
                                415
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        402,
                                        148,
                                        415
                                    ],
                                    "type": "text",
                                    "content": "#!/bin/bash",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        418,
                        140,
                        430
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 21,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                418,
                                141,
                                431
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        418,
                                        141,
                                        431
                                    ],
                                    "type": "text",
                                    "content": "#!/bin/ksh",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        433,
                        220,
                        446
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 22,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                433,
                                221,
                                447
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        433,
                                        221,
                                        447
                                    ],
                                    "type": "text",
                                    "content": "以注释形式说明如下的内容：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        449,
                        142,
                        462
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 23,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                449,
                                142,
                                463
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        449,
                                        142,
                                        463
                                    ],
                                    "type": "text",
                                    "content": "# 脚本名称",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        465,
                        142,
                        477
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 24,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                465,
                                143,
                                479
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        465,
                                        143,
                                        479
                                    ],
                                    "type": "text",
                                    "content": "# 脚本功能",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        481,
                        173,
                        493
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 25,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                481,
                                174,
                                495
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        481,
                                        174,
                                        495
                                    ],
                                    "type": "text",
                                    "content": "# 作者及联系方式",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        497,
                        163,
                        509
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 26,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                496,
                                163,
                                510
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        496,
                                        163,
                                        510
                                    ],
                                    "type": "text",
                                    "content": "# 版本更新记录",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        512,
                        142,
                        524
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 27,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                511,
                                143,
                                526
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        511,
                                        143,
                                        526
                                    ],
                                    "type": "text",
                                    "content": "# 版权声明",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        527,
                        271,
                        539
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 28,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                528,
                                271,
                                540
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        528,
                                        271,
                                        540
                                    ],
                                    "type": "text",
                                    "content": "# 对算法做简要说明（如果是复杂脚本）",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        555,
                        132,
                        567
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 29,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                555,
                                133,
                                568
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        555,
                                        133,
                                        568
                                    ],
                                    "type": "text",
                                    "content": "脚本调试",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        571,
                        224,
                        582
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 30,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                571,
                                224,
                                585
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        571,
                                        224,
                                        585
                                    ],
                                    "type": "text",
                                    "content": "在 bash 调用脚本时使用参数",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        586,
                        241,
                        599
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 31,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                585,
                                243,
                                601
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        586,
                                        96,
                                        597
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 1",
                                    "score": 0.68
                                },
                                {
                                    "bbox": [
                                        97,
                                        585,
                                        243,
                                        601
                                    ],
                                    "type": "text",
                                    "content": "bash [-x] [-n] [-v] scriptName",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        602,
                        401,
                        614
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 32,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                602,
                                402,
                                615
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        602,
                                        402,
                                        615
                                    ],
                                    "type": "text",
                                    "content": "在脚本中使用 bash 内置的 set 命令使整个或部分脚本处于调试模式",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        618,
                        193,
                        630
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 33,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                615,
                                193,
                                633
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        615,
                                        193,
                                        633
                                    ],
                                    "type": "text",
                                    "content": "开启：set [-x] [-n] [-v]",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        634,
                        200,
                        646
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 34,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                631,
                                201,
                                649
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        631,
                                        138,
                                        649
                                    ],
                                    "type": "text",
                                    "content": "结束：set",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        138,
                                        634,
                                        201,
                                        647
                                    ],
                                    "type": "inline_equation",
                                    "content": "[ + \\mathsf { x } ] [ + \\mathsf { n } ] [ + \\mathsf { v } ]",
                                    "score": 0.81
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        649,
                        149,
                        661
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 35,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                648,
                                150,
                                662
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        648,
                                        102,
                                        662
                                    ],
                                    "type": "text",
                                    "content": "sh",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        102,
                                        650,
                                        116,
                                        661
                                    ],
                                    "type": "inline_equation",
                                    "content": "- { \\sf x }",
                                    "score": 0.53
                                },
                                {
                                    "bbox": [
                                        116,
                                        648,
                                        150,
                                        662
                                    ],
                                    "type": "text",
                                    "content": "脚本名",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        664,
                        496,
                        692
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 36,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                665,
                                496,
                                677
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        665,
                                        496,
                                        677
                                    ],
                                    "type": "text",
                                    "content": "该选项可以使用户跟踪脚本的执行，此时shell 对脚本中每条命令的处理过程为：先执行",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                680,
                                221,
                                692
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        680,
                                        221,
                                        692
                                    ],
                                    "type": "text",
                                    "content": "替换，然后显示，再执行它。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        695,
                        347,
                        708
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 37,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                692,
                                349,
                                711
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        692,
                                        349,
                                        711
                                    ],
                                    "type": "text",
                                    "content": "shell 显示脚本中的行时，会在行首添加一个加号 “ + ”。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        711,
                        149,
                        723
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 38,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                710,
                                150,
                                724
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        710,
                                        150,
                                        724
                                    ],
                                    "type": "text",
                                    "content": "sh –v 脚本名",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        726,
                        321,
                        739
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 39,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                727,
                                321,
                                740
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        727,
                                        321,
                                        740
                                    ],
                                    "type": "text",
                                    "content": "在执行脚本之前，按输入的原样打印脚本中的各行",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 3
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        86,
                        79,
                        151,
                        91
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                79,
                                151,
                                93
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        79,
                                        151,
                                        93
                                    ],
                                    "type": "text",
                                    "content": "sh –n 脚本名",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        94,
                        498,
                        122
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                95,
                                499,
                                108
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        95,
                                        499,
                                        108
                                    ],
                                    "type": "text",
                                    "content": "对脚本进行语法检查，但不执行脚本。如果存在语法错误，shell 会报错，如果没有错误，",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                109,
                                180,
                                123
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        109,
                                        180,
                                        123
                                    ],
                                    "type": "text",
                                    "content": "则不显示任何内容。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        126,
                        128,
                        137
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                124,
                                129,
                                140
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        124,
                                        129,
                                        140
                                    ],
                                    "type": "text",
                                    "content": "set 命令",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        153,
                        258,
                        166
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                153,
                                255,
                                167
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        153,
                                        255,
                                        167
                                    ],
                                    "type": "text",
                                    "content": "在脚本内使用 set 命令开启调试选项",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        169,
                        283,
                        181
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                169,
                                284,
                                182
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        169,
                                        284,
                                        182
                                    ],
                                    "type": "text",
                                    "content": "set -x ：显示由shell执行的命令及其参数",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        185,
                        252,
                        197
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                185,
                                251,
                                198
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        185,
                                        251,
                                        198
                                    ],
                                    "type": "text",
                                    "content": "set -v ：显示由 shell 读入的命令行",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        200,
                        309,
                        213
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                200,
                                310,
                                214
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        200,
                                        310,
                                        214
                                    ],
                                    "type": "text",
                                    "content": "set -n ：读取命令但不执行他们，用于语法检查",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        215,
                        298,
                        228
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                216,
                                298,
                                229
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        216,
                                        298,
                                        229
                                    ],
                                    "type": "text",
                                    "content": "在脚本内使用set命令关闭已开启的调试选项",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        232,
                        120,
                        243
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                232,
                                120,
                                245
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        232,
                                        105,
                                        245
                                    ],
                                    "type": "text",
                                    "content": "set",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        105,
                                        232,
                                        120,
                                        243
                                    ],
                                    "type": "inline_equation",
                                    "content": "+ \\mathsf { x }",
                                    "score": 0.79
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        248,
                        120,
                        259
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                247,
                                119,
                                261
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        247,
                                        105,
                                        261
                                    ],
                                    "type": "text",
                                    "content": "set",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        105,
                                        248,
                                        119,
                                        258
                                    ],
                                    "type": "inline_equation",
                                    "content": "+ \\nu",
                                    "score": 0.79
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        264,
                        120,
                        274
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                263,
                                120,
                                276
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        263,
                                        105,
                                        276
                                    ],
                                    "type": "text",
                                    "content": "set",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        105,
                                        264,
                                        120,
                                        274
                                    ],
                                    "type": "inline_equation",
                                    "content": "+ \\mathsf { n }",
                                    "score": 0.81
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        278,
                        167,
                        290
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                278,
                                168,
                                290
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        278,
                                        168,
                                        290
                                    ],
                                    "type": "text",
                                    "content": "shell脚本的类型",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        306,
                        153,
                        318
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 12,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                306,
                                154,
                                320
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        306,
                                        154,
                                        320
                                    ],
                                    "type": "text",
                                    "content": "非交互式脚本",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        321,
                        327,
                        333
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 13,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                321,
                                327,
                                335
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        321,
                                        327,
                                        335
                                    ],
                                    "type": "text",
                                    "content": "不需要读取用户的输入, 也不用向用户反馈某些信息",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        337,
                        374,
                        349
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 14,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                337,
                                374,
                                350
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        337,
                                        374,
                                        350
                                    ],
                                    "type": "text",
                                    "content": "每次执行都是可预见的, 因为它不读取用户输入, 参数是固定的",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        353,
                        164,
                        365
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 15,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                352,
                                165,
                                367
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        352,
                                        165,
                                        367
                                    ],
                                    "type": "text",
                                    "content": "可以在后台执行",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        368,
                        143,
                        380
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                367,
                                144,
                                381
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        367,
                                        144,
                                        381
                                    ],
                                    "type": "text",
                                    "content": "交互式脚本",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        383,
                        383,
                        396
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                383,
                                384,
                                398
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        383,
                                        384,
                                        398
                                    ],
                                    "type": "text",
                                    "content": "脚本可以读取用户的输入, 实时向用户反馈信息（输出某些信息）",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        398,
                        348,
                        411
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 18,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                399,
                                348,
                                412
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        399,
                                        348,
                                        412
                                    ],
                                    "type": "text",
                                    "content": "这样的脚本更灵活, 每次执行时的参数可由用户动态设定",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        414,
                        351,
                        428
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 19,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                414,
                                352,
                                429
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        414,
                                        352,
                                        429
                                    ],
                                    "type": "text",
                                    "content": "用户界面更友好，但不适用于自动化任务（如 cron 任务）",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        430,
                        239,
                        443
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 20,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                430,
                                240,
                                444
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        430,
                                        240,
                                        444
                                    ],
                                    "type": "text",
                                    "content": "掌握一种文本编辑器的使用（Vi）",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        445,
                        216,
                        459
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 21,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                446,
                                216,
                                460
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        446,
                                        216,
                                        460
                                    ],
                                    "type": "text",
                                    "content": "熟悉 Linux 文件系统的布局",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        461,
                        192,
                        474
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 22,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                461,
                                192,
                                476
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        461,
                                        192,
                                        476
                                    ],
                                    "type": "text",
                                    "content": "学习 Shell 的各种功能",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        476,
                        258,
                        490
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 23,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                476,
                                258,
                                491
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        476,
                                        258,
                                        491
                                    ],
                                    "type": "text",
                                    "content": "重定向、管道、命令替换、命令聚合",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        492,
                        237,
                        505
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 24,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                493,
                                237,
                                506
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        493,
                                        237,
                                        506
                                    ],
                                    "type": "text",
                                    "content": "学习各种管理和监视命令的使用",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        507,
                        299,
                        521
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 25,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                508,
                                300,
                                522
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        508,
                                        300,
                                        522
                                    ],
                                    "type": "text",
                                    "content": "用户管理、权限管理、进程管理、包管理……",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        523,
                        208,
                        536
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 26,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                523,
                                208,
                                537
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        523,
                                        208,
                                        537
                                    ],
                                    "type": "text",
                                    "content": "系统监视、网络监视……",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        539,
                        227,
                        552
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 27,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                538,
                                227,
                                554
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        538,
                                        227,
                                        554
                                    ],
                                    "type": "text",
                                    "content": "学习各种文本文件工具的使用",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        555,
                        234,
                        568
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 28,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                554,
                                235,
                                571
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        554,
                                        235,
                                        571
                                    ],
                                    "type": "text",
                                    "content": "cat、grep、tr、sed、awk ……",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        571,
                        143,
                        582
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 29,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                571,
                                143,
                                584
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        571,
                                        143,
                                        584
                                    ],
                                    "type": "text",
                                    "content": "正则表达式",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        613,
                        137,
                        626
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 30,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                613,
                                138,
                                629
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        613,
                                        138,
                                        629
                                    ],
                                    "type": "text",
                                    "content": "Shell 环境",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        656,
                        189,
                        669
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 31,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                657,
                                189,
                                670
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        657,
                                        189,
                                        670
                                    ],
                                    "type": "text",
                                    "content": "运行脚本有多种方法：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        684,
                        179,
                        698
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 32,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                684,
                                180,
                                698
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        684,
                                        180,
                                        698
                                    ],
                                    "type": "text",
                                    "content": "# 使用 shell 来执行",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        712,
                        143,
                        724
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 33,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                710,
                                145,
                                726
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        710,
                                        145,
                                        726
                                    ],
                                    "type": "text",
                                    "content": "sh hello.sh",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        739,
                        180,
                        752
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 34,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                739,
                                181,
                                754
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        739,
                                        181,
                                        754
                                    ],
                                    "type": "text",
                                    "content": "# 使用 bash 来执行",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 4
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        86,
                        79,
                        157,
                        90
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                78,
                                157,
                                92
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        78,
                                        157,
                                        92
                                    ],
                                    "type": "text",
                                    "content": "bash hello.sh",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        106,
                        362,
                        119
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                107,
                                362,
                                121
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        107,
                                        362,
                                        121
                                    ],
                                    "type": "text",
                                    "content": "# 还可以赋予脚本所有者执行权限，允许该用户执行该脚本",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        134,
                        190,
                        146
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                133,
                                191,
                                148
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        133,
                                        124,
                                        148
                                    ],
                                    "type": "text",
                                    "content": "chmod",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        125,
                                        135,
                                        150,
                                        146
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\uplus \\dag \\boldsymbol { \\mathsf { r } } \\boldsymbol { \\mathsf { X } }",
                                    "score": 0.59
                                },
                                {
                                    "bbox": [
                                        150,
                                        133,
                                        191,
                                        148
                                    ],
                                    "type": "text",
                                    "content": "hello.sh",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        162,
                        135,
                        173
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                161,
                                136,
                                175
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        161,
                                        136,
                                        175
                                    ],
                                    "type": "text",
                                    "content": "./hello.sh",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        189,
                        249,
                        201
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                189,
                                249,
                                203
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        189,
                                        249,
                                        203
                                    ],
                                    "type": "text",
                                    "content": "# 使用.命令来执行，不创建子进程",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        216,
                        141,
                        228
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                216,
                                142,
                                231
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        216,
                                        142,
                                        231
                                    ],
                                    "type": "text",
                                    "content": ". ./hello.sh",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        244,
                        255,
                        257
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                244,
                                255,
                                259
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        244,
                                        255,
                                        259
                                    ],
                                    "type": "text",
                                    "content": "# 使用 source 来执行，与.命令等价",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        272,
                        164,
                        283
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                271,
                                166,
                                285
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        271,
                                        166,
                                        285
                                    ],
                                    "type": "text",
                                    "content": "source hello.sh",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        300,
                        242,
                        312
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                299,
                                242,
                                314
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        299,
                                        242,
                                        314
                                    ],
                                    "type": "text",
                                    "content": "1. ./hello.sh 报错 zsh: 权限不够",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        327,
                        498,
                        340
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                327,
                                499,
                                341
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        327,
                                        499,
                                        341
                                    ],
                                    "type": "text",
                                    "content": "当你直接运行 ./hello.sh 时，系统会尝试把 hello.sh 当作一个可执行程序运行，但要求：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        354,
                        424,
                        395
                    ],
                    "type": "list",
                    "angle": 0,
                    "index": 12,
                    "blocks": [
                        {
                            "bbox": [
                                104,
                                354,
                                297,
                                367
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 10,
                            "lines": [
                                {
                                    "bbox": [
                                        108,
                                        352,
                                        300,
                                        371
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                108,
                                                352,
                                                249,
                                                371
                                            ],
                                            "type": "text",
                                            "content": " 文件必须具有可执行权限（",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                249,
                                                355,
                                                259,
                                                367
                                            ],
                                            "type": "inline_equation",
                                            "content": "\\mathbf { x }",
                                            "score": 0.54
                                        },
                                        {
                                            "bbox": [
                                                260,
                                                352,
                                                300,
                                                371
                                            ],
                                            "type": "text",
                                            "content": "权限）。",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                104,
                                382,
                                424,
                                395
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 11,
                            "lines": [
                                {
                                    "bbox": [
                                        104,
                                        380,
                                        427,
                                        398
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                104,
                                                380,
                                                189,
                                                398
                                            ],
                                            "type": "text",
                                            "content": " 如果文件没有",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                189,
                                                384,
                                                198,
                                                394
                                            ],
                                            "type": "inline_equation",
                                            "content": "\\pmb { \\times }",
                                            "score": 0.75
                                        },
                                        {
                                            "bbox": [
                                                199,
                                                380,
                                                427,
                                                398
                                            ],
                                            "type": "text",
                                            "content": "权限，就会报 权限不够（Permission denied）。",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "sub_type": "text"
                },
                {
                    "bbox": [
                        123,
                        410,
                        168,
                        421
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 13,
                    "lines": [
                        {
                            "bbox": [
                                124,
                                409,
                                170,
                                423
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        124,
                                        409,
                                        170,
                                        423
                                    ],
                                    "type": "text",
                                    "content": "Chomod",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        437,
                        211,
                        450
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 14,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                437,
                                212,
                                452
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        437,
                                        212,
                                        452
                                    ],
                                    "type": "text",
                                    "content": "2. . ./hello.sh 能正常运行",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        465,
                        502,
                        493
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 15,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                465,
                                502,
                                479
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        465,
                                        502,
                                        479
                                    ],
                                    "type": "text",
                                    "content": "当你使用 . ./hello.sh（或等价的 source ./hello.sh）时，Shell 会直接在当前 Shell 进程",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                481,
                                310,
                                494
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        481,
                                        310,
                                        494
                                    ],
                                    "type": "text",
                                    "content": "中执行脚本内容，而不是启动一个新的子 Shell。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        496,
                        178,
                        509
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                496,
                                181,
                                511
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        496,
                                        181,
                                        511
                                    ],
                                    "type": "text",
                                    "content": "这种方式的特点是：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        523,
                        444,
                        565
                    ],
                    "type": "list",
                    "angle": 0,
                    "index": 19,
                    "blocks": [
                        {
                            "bbox": [
                                104,
                                523,
                                431,
                                537
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 17,
                            "lines": [
                                {
                                    "bbox": [
                                        104,
                                        523,
                                        434,
                                        539
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                104,
                                                523,
                                                434,
                                                539
                                            ],
                                            "type": "text",
                                            "content": " 不需要文件有可执行权限（因为 Shell 直接读取文件内容并执行）。",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                104,
                                551,
                                444,
                                565
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 18,
                            "lines": [
                                {
                                    "bbox": [
                                        105,
                                        550,
                                        445,
                                        565
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                105,
                                                550,
                                                445,
                                                565
                                            ],
                                            "type": "text",
                                            "content": " 脚本中的变量、函数等会影响当前 Shell 环境（而./hello.sh 不会）。",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "sub_type": "text"
                },
                {
                    "bbox": [
                        86,
                        578,
                        169,
                        592
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 20,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                578,
                                170,
                                594
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        578,
                                        170,
                                        594
                                    ],
                                    "type": "text",
                                    "content": "为什么它能工作？",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        606,
                        424,
                        647
                    ],
                    "type": "list",
                    "angle": 0,
                    "index": 23,
                    "blocks": [
                        {
                            "bbox": [
                                104,
                                606,
                                377,
                                619
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 21,
                            "lines": [
                                {
                                    "bbox": [
                                        105,
                                        604,
                                        379,
                                        621
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                105,
                                                604,
                                                379,
                                                621
                                            ],
                                            "type": "text",
                                            "content": " .（或source）是 Shell 的内置命令，不依赖文件权限。",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                104,
                                634,
                                424,
                                647
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 22,
                            "lines": [
                                {
                                    "bbox": [
                                        104,
                                        634,
                                        426,
                                        648
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                104,
                                                634,
                                                346,
                                                648
                                            ],
                                            "type": "text",
                                            "content": " 它直接读取文件内容并逐行执行，因此即使没有",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                346,
                                                635,
                                                356,
                                                646
                                            ],
                                            "type": "inline_equation",
                                            "content": "\\pmb { \\times }",
                                            "score": 0.78
                                        },
                                        {
                                            "bbox": [
                                                356,
                                                634,
                                                426,
                                                648
                                            ],
                                            "type": "text",
                                            "content": "权限也能运行。",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "sub_type": "text"
                },
                {
                    "bbox": [
                        86,
                        661,
                        408,
                        675
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 24,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                660,
                                408,
                                677
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        660,
                                        408,
                                        677
                                    ],
                                    "type": "text",
                                    "content": "如果想要保存脚本的输出 hello world 为一个文本，那么该怎么办呢？",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        689,
                        150,
                        701
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 25,
                    "lines": [
                        {
                            "bbox": [
                                91,
                                689,
                                151,
                                702
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        91,
                                        689,
                                        151,
                                        702
                                    ],
                                    "type": "text",
                                    "content": "#!/bin/bash",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        717,
                        229,
                        729
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 26,
                    "lines": [
                        {
                            "bbox": [
                                90,
                                714,
                                230,
                                732
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        90,
                                        714,
                                        183,
                                        732
                                    ],
                                    "type": "text",
                                    "content": "echo \"hello world\"",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        183,
                                        719,
                                        192,
                                        727
                                    ],
                                    "type": "inline_equation",
                                    "content": ">",
                                    "score": 0.78
                                },
                                {
                                    "bbox": [
                                        193,
                                        714,
                                        230,
                                        732
                                    ],
                                    "type": "text",
                                    "content": "my.out",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        745,
                        257,
                        758
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 27,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                743,
                                258,
                                760
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        743,
                                        258,
                                        760
                                    ],
                                    "type": "text",
                                    "content": "用 cat 命令查看 my.out 文件的内容。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 5
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        87,
                        79,
                        142,
                        92
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                79,
                                143,
                                94
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        79,
                                        143,
                                        94
                                    ],
                                    "type": "text",
                                    "content": "cat my.out",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        105,
                        154,
                        120
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                106,
                                154,
                                121
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        106,
                                        154,
                                        121
                                    ],
                                    "type": "text",
                                    "content": "关键区别总结",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "table",
                    "bbox": [
                        86,
                        140,
                        481,
                        340
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                86,
                                140,
                                481,
                                340
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        86,
                                        140,
                                        481,
                                        340
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                86,
                                                140,
                                                481,
                                                340
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>方式</td><td>是否需要x权限</td><td>执行环境</td><td>典型用途</td></tr><tr><td>./hello.sh</td><td>需要</td><td>新的子Shell</td><td>运行独立脚本</td></tr><tr><td>../hello.sh</td><td>不需要</td><td>当前Shell</td><td>加载环境变量或函数到当前会话</td></tr><tr><td>bashhello.sh</td><td>不需要</td><td>新的子Shell</td><td>直接指定解释器执行脚本</td></tr></table>",
                                            "image_path": "82e09f7779ae175bc41788ca22d146bba6f34332ff45be35788c0afb983e9401.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 2,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 2
                },
                {
                    "bbox": [
                        88,
                        353,
                        143,
                        366
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                354,
                                143,
                                367
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        354,
                                        143,
                                        367
                                    ],
                                    "type": "text",
                                    "content": "正则表达式",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        380,
                        500,
                        394
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                379,
                                499,
                                396
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        379,
                                        499,
                                        396
                                    ],
                                    "type": "text",
                                    "content": "正则表达式是使用某种模式（pattern）去匹配（matching）一类字符串的一个公式。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        395,
                        499,
                        410
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                394,
                                502,
                                412
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        394,
                                        502,
                                        412
                                    ],
                                    "type": "text",
                                    "content": "通 常 使 用 正 则 表 达 式 进 行 查 找 、 替 换 等 操 作 。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        411,
                        499,
                        425
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                411,
                                499,
                                426
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        411,
                                        499,
                                        426
                                    ],
                                    "type": "text",
                                    "content": "在 适 当 的 情 况 下 使 用 正 则 表 达 式 可 以 极 大 地 提 高 工 作 效 率 。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        427,
                        474,
                        440
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                84,
                                423,
                                477,
                                445
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        84,
                                        423,
                                        477,
                                        445
                                    ],
                                    "type": "text",
                                    "content": "有 两 种 风 格 的 正 则 表 达 式 ：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        442,
                        505,
                        455
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                442,
                                508,
                                459
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        442,
                                        123,
                                        458
                                    ],
                                    "type": "text",
                                    "content": "POSIX",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        186,
                                        442,
                                        203,
                                        459
                                    ],
                                    "type": "text",
                                    "content": "风",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        228,
                                        442,
                                        246,
                                        458
                                    ],
                                    "type": "text",
                                    "content": "格",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        273,
                                        442,
                                        290,
                                        459
                                    ],
                                    "type": "text",
                                    "content": "的",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        317,
                                        442,
                                        334,
                                        459
                                    ],
                                    "type": "text",
                                    "content": "正",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        359,
                                        442,
                                        377,
                                        459
                                    ],
                                    "type": "text",
                                    "content": "则",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        403,
                                        442,
                                        421,
                                        458
                                    ],
                                    "type": "text",
                                    "content": "表",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        445,
                                        442,
                                        465,
                                        459
                                    ],
                                    "type": "text",
                                    "content": "达",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        490,
                                        442,
                                        508,
                                        459
                                    ],
                                    "type": "text",
                                    "content": "式",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        457,
                        499,
                        472
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                456,
                                500,
                                476
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        456,
                                        500,
                                        476
                                    ],
                                    "type": "text",
                                    "content": "Perl 风 格 的 正 则 表 达 式 （ Perl-compatible regular expression ）",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        473,
                        505,
                        488
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                471,
                                508,
                                491
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        472,
                                        282,
                                        489
                                    ],
                                    "type": "text",
                                    "content": "基 本 的 正 则 表 达 式",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        308,
                                        471,
                                        508,
                                        491
                                    ],
                                    "type": "text",
                                    "content": "Basic regular expression (BRE)",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        489,
                        505,
                        503
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                487,
                                508,
                                507
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        491,
                                        116,
                                        507
                                    ],
                                    "type": "text",
                                    "content": "grep",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        191,
                                        488,
                                        208,
                                        506
                                    ],
                                    "type": "text",
                                    "content": "按",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        241,
                                        488,
                                        258,
                                        506
                                    ],
                                    "type": "text",
                                    "content": "模",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        290,
                                        487,
                                        308,
                                        506
                                    ],
                                    "type": "text",
                                    "content": "式",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        342,
                                        488,
                                        358,
                                        506
                                    ],
                                    "type": "text",
                                    "content": "匹",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        391,
                                        488,
                                        408,
                                        505
                                    ],
                                    "type": "text",
                                    "content": "配",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        441,
                                        488,
                                        458,
                                        506
                                    ],
                                    "type": "text",
                                    "content": "文",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        490,
                                        488,
                                        508,
                                        507
                                    ],
                                    "type": "text",
                                    "content": "本",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        504,
                        505,
                        518
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 12,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                503,
                                506,
                                521
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        504,
                                        105,
                                        521
                                    ],
                                    "type": "text",
                                    "content": "ed",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        203,
                                        503,
                                        224,
                                        520
                                    ],
                                    "type": "text",
                                    "content": "个",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        244,
                                        504,
                                        263,
                                        520
                                    ],
                                    "type": "text",
                                    "content": "原",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        286,
                                        504,
                                        305,
                                        520
                                    ],
                                    "type": "text",
                                    "content": "始",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        326,
                                        504,
                                        345,
                                        520
                                    ],
                                    "type": "text",
                                    "content": "的",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        367,
                                        504,
                                        386,
                                        520
                                    ],
                                    "type": "text",
                                    "content": "行",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        408,
                                        504,
                                        426,
                                        520
                                    ],
                                    "type": "text",
                                    "content": "编",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        449,
                                        504,
                                        467,
                                        519
                                    ],
                                    "type": "text",
                                    "content": "辑",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        490,
                                        504,
                                        506,
                                        520
                                    ],
                                    "type": "text",
                                    "content": "器",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        520,
                        505,
                        534
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 13,
                    "lines": [
                        {
                            "bbox": [
                                85,
                                518,
                                508,
                                536
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        85,
                                        520,
                                        110,
                                        534
                                    ],
                                    "type": "text",
                                    "content": "sed",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        260,
                                        518,
                                        276,
                                        536
                                    ],
                                    "type": "text",
                                    "content": "个",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        318,
                                        518,
                                        334,
                                        536
                                    ],
                                    "type": "text",
                                    "content": "流",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        376,
                                        518,
                                        391,
                                        536
                                    ],
                                    "type": "text",
                                    "content": "编",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        433,
                                        518,
                                        449,
                                        536
                                    ],
                                    "type": "text",
                                    "content": "辑",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        518,
                                        508,
                                        536
                                    ],
                                    "type": "text",
                                    "content": "器",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        535,
                        505,
                        550
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 14,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                534,
                                508,
                                552
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        535,
                                        110,
                                        552
                                    ],
                                    "type": "text",
                                    "content": "vim",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        238,
                                        534,
                                        255,
                                        552
                                    ],
                                    "type": "text",
                                    "content": "个",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        289,
                                        535,
                                        305,
                                        551
                                    ],
                                    "type": "text",
                                    "content": "屏",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        339,
                                        535,
                                        356,
                                        552
                                    ],
                                    "type": "text",
                                    "content": "幕",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        390,
                                        535,
                                        406,
                                        551
                                    ],
                                    "type": "text",
                                    "content": "编",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        440,
                                        535,
                                        456,
                                        551
                                    ],
                                    "type": "text",
                                    "content": "辑",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        535,
                                        508,
                                        552
                                    ],
                                    "type": "text",
                                    "content": "器",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        551,
                        505,
                        565
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 15,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                550,
                                508,
                                568
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        553,
                                        123,
                                        566
                                    ],
                                    "type": "text",
                                    "content": "emacs",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        247,
                                        550,
                                        264,
                                        567
                                    ],
                                    "type": "text",
                                    "content": "个",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        296,
                                        550,
                                        312,
                                        568
                                    ],
                                    "type": "text",
                                    "content": "屏",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        345,
                                        550,
                                        361,
                                        567
                                    ],
                                    "type": "text",
                                    "content": "幕",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        393,
                                        550,
                                        409,
                                        567
                                    ],
                                    "type": "text",
                                    "content": "编",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        442,
                                        550,
                                        459,
                                        567
                                    ],
                                    "type": "text",
                                    "content": "辑",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        550,
                                        508,
                                        568
                                    ],
                                    "type": "text",
                                    "content": "器",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        566,
                        505,
                        581
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                565,
                                508,
                                585
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        565,
                                        270,
                                        582
                                    ],
                                    "type": "text",
                                    "content": "扩 展 的 正 则 表 达 式",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        293,
                                        565,
                                        508,
                                        585
                                    ],
                                    "type": "text",
                                    "content": "Extended regular expression (ERE)",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        582,
                        505,
                        597
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                581,
                                508,
                                602
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        583,
                                        121,
                                        602
                                    ],
                                    "type": "text",
                                    "content": "egrep",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        195,
                                        581,
                                        213,
                                        600
                                    ],
                                    "type": "text",
                                    "content": "按",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        245,
                                        581,
                                        261,
                                        598
                                    ],
                                    "type": "text",
                                    "content": "模",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        294,
                                        581,
                                        311,
                                        600
                                    ],
                                    "type": "text",
                                    "content": "式",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        344,
                                        582,
                                        359,
                                        599
                                    ],
                                    "type": "text",
                                    "content": "匹",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        393,
                                        582,
                                        409,
                                        598
                                    ],
                                    "type": "text",
                                    "content": "配",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        441,
                                        582,
                                        459,
                                        599
                                    ],
                                    "type": "text",
                                    "content": "文",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        490,
                                        581,
                                        508,
                                        600
                                    ],
                                    "type": "text",
                                    "content": "本",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        597,
                        505,
                        613
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 18,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                595,
                                506,
                                617
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        597,
                                        113,
                                        614
                                    ],
                                    "type": "text",
                                    "content": "awk",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        169,
                                        597,
                                        186,
                                        614
                                    ],
                                    "type": "text",
                                    "content": "进",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        209,
                                        597,
                                        227,
                                        613
                                    ],
                                    "type": "text",
                                    "content": "行",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        240,
                                        596,
                                        308,
                                        615
                                    ],
                                    "type": "text",
                                    "content": "简 单",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        329,
                                        595,
                                        471,
                                        617
                                    ],
                                    "type": "text",
                                    "content": "的 文 本 处",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        490,
                                        598,
                                        506,
                                        613
                                    ],
                                    "type": "text",
                                    "content": "理",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        641,
                        499,
                        671
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 19,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                641,
                                499,
                                655
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        641,
                                        499,
                                        655
                                    ],
                                    "type": "text",
                                    "content": "在 Shell 中有一些具有特殊的意义字符，称为 Shell 元字符（shell metacharacters）。",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                657,
                                499,
                                671
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        657,
                                        499,
                                        671
                                    ],
                                    "type": "text",
                                    "content": "若不以特殊方式（使用转义字符）指明，Shell 并不会把它们当做普通文字符使用。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "table",
                    "bbox": [
                        88,
                        686,
                        595,
                        760
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                88,
                                686,
                                595,
                                760
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        88,
                                        686,
                                        595,
                                        760
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                88,
                                                686,
                                                595,
                                                760
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>字符</td><td>含义</td><td>字符</td><td>含义</td></tr><tr><td>'</td><td>强引用</td><td>*、?、!</td><td>通配符</td></tr><tr><td>\"</td><td>弱引用</td><td>&lt;、&gt;、&gt;&gt;</td><td>重定向</td></tr><tr><td>\\</td><td>转义字符</td><td>-</td><td>选项标</td></tr><tr><td>$</td><td>变量引用</td><td>#</td><td>注释符</td></tr><tr><td>;</td><td>命令分离符</td><td>空格、换行符</td><td>命令分</td></tr></table>",
                                            "image_path": "383bd1d08ac43e5ebf36da8ca2ec4a658f2b26d0f1b3538235c29a7547a9479d.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 20,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 20
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 6
        },
        {
            "para_blocks": [
                {
                    "type": "table",
                    "bbox": [
                        88,
                        76,
                        595,
                        221
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                88,
                                76,
                                595,
                                221
                            ],
                            "lines": [],
                            "index": 0,
                            "angle": 0,
                            "type": "table_body",
                            "lines_deleted": true
                        }
                    ],
                    "index": 0
                },
                {
                    "type": "table",
                    "bbox": [
                        88,
                        248,
                        595,
                        745
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                88,
                                233,
                                167,
                                247
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        88,
                                        233,
                                        168,
                                        248
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                88,
                                                233,
                                                168,
                                                248
                                            ],
                                            "type": "text",
                                            "content": "通配符（元字符）",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ],
                            "index": 1,
                            "angle": 0,
                            "type": "table_caption"
                        },
                        {
                            "bbox": [
                                88,
                                248,
                                595,
                                745
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        88,
                                        248,
                                        595,
                                        745
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                88,
                                                248,
                                                595,
                                                745
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>元字符</td><td colspan=\"3\">含义</td><td>类型</td><td>举例</td><td colspan=\"2\">说明</td></tr><tr><td>^</td><td colspan=\"3\">匹配首字符</td><td>BRE</td><td>^x</td><td colspan=\"2\">以字符x开</td></tr><tr><td>$</td><td colspan=\"3\">匹配尾字符</td><td>BRE</td><td>x$</td><td colspan=\"2\">以x字符结</td></tr><tr><td>.</td><td colspan=\"3\">匹配任意一个字符</td><td>BRE</td><td>l..e</td><td colspan=\"2\">love, life, l</td></tr><tr><td>?</td><td colspan=\"3\">匹配任意一个可选字符</td><td>ERE</td><td>xy?</td><td colspan=\"2\">x, xy</td></tr><tr><td>*</td><td colspan=\"3\">匹配零次或多次重复</td><td>BRE</td><td>xy*</td><td colspan=\"2\">x, xy, xyy, x</td></tr><tr><td>+</td><td colspan=\"3\">匹配一次或多次重复</td><td>ERE</td><td>xy+</td><td colspan=\"2\">xy, xyy, xyy</td></tr><tr><td>[...]</td><td colspan=\"3\">匹配任意一个字符</td><td>BRE</td><td>[xyz]</td><td colspan=\"2\">x, y, z</td></tr><tr><td>()</td><td colspan=\"3\">对正则表达式分组</td><td>ERE</td><td>(xy)+</td><td colspan=\"2\">xy, xyxy, x</td></tr><tr><td colspan=\"2\">元字符</td><td>含义</td><td>类型</td><td colspan=\"2\">举例</td><td colspan=\"2\">说明</td></tr><tr><td colspan=\"2\">\\{n\\}</td><td>匹配n次</td><td>BRE</td><td colspan=\"2\">go{\\2}\\gle</td><td colspan=\"2\">google</td></tr><tr><td colspan=\"2\">\\{n,\\}</td><td>匹配最少n次</td><td>BRE</td><td colspan=\"2\">go{\\2,\\}gle</td><td colspan=\"2\">google, google, goooo</td></tr><tr><td colspan=\"2\">\\{n,m\\}</td><td>匹配n到m次</td><td>BRE</td><td colspan=\"2\">go{\\2,4}\\gle</td><td colspan=\"2\">google, google, goooo</td></tr><tr><td colspan=\"2\">{n}</td><td>匹配n次</td><td>ERE</td><td colspan=\"2\">go{2}gle</td><td colspan=\"2\">google</td></tr><tr><td colspan=\"2\">{n,}</td><td>匹配最少n次</td><td>ERE</td><td colspan=\"2\">go{2,}gle</td><td colspan=\"2\">google, google, goooo</td></tr><tr><td colspan=\"2\">{n,m}</td><td>匹配n到m次</td><td>ERE</td><td colspan=\"2\">go{2,4}gle</td><td colspan=\"2\">google, google, goooo</td></tr><tr><td colspan=\"2\">|</td><td>以或逻辑连接多个匹配</td><td>ERE</td><td colspan=\"2\">good|bon</td><td colspan=\"2\">匹配 good 或 bon</td></tr><tr><td colspan=\"2\">\\</td><td>转义字符</td><td>BRE</td><td colspan=\"2\">\\*</td><td colspan=\"2\">*</td></tr><tr><td>元字符</td><td colspan=\"4\">含义</td><td>类型</td><td>举例</td><td>说明</td></tr><tr><td colspan=\"2\">^</td><td colspan=\"3\">非（仅用于启始字符）</td><td>BRE</td><td>^[^xyz]</td><td>匹配xy</td></tr><tr><td colspan=\"2\">-</td><td colspan=\"3\">用于指明字符范围(不能是首字符和尾字符)</td><td>BRE</td><td>[a-zA-Z]</td><td>匹配任</td></tr><tr><td colspan=\"2\">\\</td><td colspan=\"3\">转义字符</td><td>BRE</td><td>[\\.]\\</td><td>.</td></tr></table>",
                                            "image_path": "40e96966f78386d62aa3bfc0502b229d2c9039a9cb83b951152d92d318aed4f4.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 2,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 2
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 7
        },
        {
            "para_blocks": [
                {
                    "type": "table",
                    "bbox": [
                        85,
                        73,
                        595,
                        491
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                85,
                                73,
                                595,
                                491
                            ],
                            "lines": [],
                            "index": 0,
                            "angle": 0,
                            "type": "table_body",
                            "lines_deleted": true
                        }
                    ],
                    "index": 0
                },
                {
                    "bbox": [
                        88,
                        528,
                        506,
                        544
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                164,
                                528,
                                507,
                                545
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        164,
                                        528,
                                        182,
                                        545
                                    ],
                                    "type": "text",
                                    "content": "任",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        211,
                                        528,
                                        227,
                                        545
                                    ],
                                    "type": "text",
                                    "content": "意",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        305,
                                        528,
                                        321,
                                        545
                                    ],
                                    "type": "text",
                                    "content": "个",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        351,
                                        528,
                                        368,
                                        545
                                    ],
                                    "type": "text",
                                    "content": "普",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        398,
                                        528,
                                        414,
                                        544
                                    ],
                                    "type": "text",
                                    "content": "通",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        445,
                                        528,
                                        461,
                                        545
                                    ],
                                    "type": "text",
                                    "content": "字",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        528,
                                        507,
                                        545
                                    ],
                                    "type": "text",
                                    "content": "符",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        571,
                        506,
                        585
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                570,
                                507,
                                587
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        575,
                                        96,
                                        581
                                    ],
                                    "type": "text",
                                    "content": "大",
                                    "score": 0.975
                                },
                                {
                                    "bbox": [
                                        103,
                                        570,
                                        507,
                                        587
                                    ],
                                    "type": "text",
                                    "content": "： 匹 配 任 何 字 符 和 任 何 数 目 的 字 符",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        587,
                        505,
                        602
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                585,
                                508,
                                605
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        590,
                                        96,
                                        601
                                    ],
                                    "type": "text",
                                    "content": "?",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        116,
                                        592,
                                        124,
                                        597
                                    ],
                                    "type": "text",
                                    "content": "·",
                                    "score": 0.709
                                },
                                {
                                    "bbox": [
                                        148,
                                        585,
                                        508,
                                        605
                                    ],
                                    "type": "text",
                                    "content": "匹 配 单 一 数 目 的 任 何 字 符",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        603,
                        505,
                        617
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                600,
                                508,
                                621
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        605,
                                        96,
                                        614
                                    ],
                                    "type": "text",
                                    "content": ">",
                                    "score": 0.691
                                },
                                {
                                    "bbox": [
                                        241,
                                        602,
                                        257,
                                        620
                                    ],
                                    "type": "text",
                                    "content": "行",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        325,
                                        602,
                                        341,
                                        619
                                    ],
                                    "type": "text",
                                    "content": "的",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        408,
                                        602,
                                        424,
                                        620
                                    ],
                                    "type": "text",
                                    "content": "开",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        490,
                                        600,
                                        508,
                                        621
                                    ],
                                    "type": "text",
                                    "content": "始",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        619,
                        505,
                        632
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                618,
                                508,
                                635
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        620,
                                        97,
                                        632
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 1",
                                    "score": 0.51
                                },
                                {
                                    "bbox": [
                                        241,
                                        618,
                                        257,
                                        635
                                    ],
                                    "type": "text",
                                    "content": "行",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        325,
                                        618,
                                        340,
                                        635
                                    ],
                                    "type": "text",
                                    "content": "的",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        408,
                                        618,
                                        424,
                                        635
                                    ],
                                    "type": "text",
                                    "content": "结",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        618,
                                        508,
                                        635
                                    ],
                                    "type": "text",
                                    "content": "束",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        634,
                        505,
                        648
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                85,
                                630,
                                509,
                                654
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        85,
                                        633,
                                        108,
                                        654
                                    ],
                                    "type": "text",
                                    "content": "[…]",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        143,
                                        630,
                                        509,
                                        653
                                    ],
                                    "type": "text",
                                    "content": "在 […] 列 表 中 的 任 意 一 个 字 符",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        650,
                        220,
                        664
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                650,
                                219,
                                665
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        650,
                                        219,
                                        665
                                    ],
                                    "type": "text",
                                    "content": "[^…] 不在列表中的任一字符",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        677,
                        505,
                        691
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                677,
                                506,
                                692
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        677,
                                        506,
                                        692
                                    ],
                                    "type": "text",
                                    "content": "[! ] ： 匹 配 除 了 [! ] 之 外 的 任 意 一 个 字 符 ， ! 表 示 非 的 意 思",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        693,
                        499,
                        707
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                692,
                                477,
                                709
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        693,
                                        108,
                                        704
                                    ],
                                    "type": "text",
                                    "content": "=*\"",
                                    "score": 0.773
                                },
                                {
                                    "bbox": [
                                        116,
                                        692,
                                        424,
                                        709
                                    ],
                                    "type": "text",
                                    "content": "能 匹 配 文 件 或 目 录 名 中 的",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        445,
                                        694,
                                        451,
                                        699
                                    ],
                                    "type": "text",
                                    "content": "66",
                                    "score": 0.78
                                },
                                {
                                    "bbox": [
                                        470,
                                        695,
                                        477,
                                        700
                                    ],
                                    "type": "text",
                                    "content": "",
                                    "score": 0.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                493,
                                700,
                                499,
                                707
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        493,
                                        700,
                                        499,
                                        707
                                    ],
                                    "type": "text",
                                    "content": "。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        709,
                        277,
                        723
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                708,
                                277,
                                724
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        708,
                                        277,
                                        724
                                    ],
                                    "type": "text",
                                    "content": "“*”不能匹配首字符是“.”的文件或目录名",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        736,
                        506,
                        751
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                735,
                                507,
                                753
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        736,
                                        98,
                                        751
                                    ],
                                    "type": "text",
                                    "content": "$",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        179,
                                        735,
                                        195,
                                        753
                                    ],
                                    "type": "text",
                                    "content": "代",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        232,
                                        736,
                                        246,
                                        751
                                    ],
                                    "type": "text",
                                    "content": "表",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        283,
                                        735,
                                        299,
                                        753
                                    ],
                                    "type": "text",
                                    "content": "变",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        336,
                                        736,
                                        350,
                                        751
                                    ],
                                    "type": "text",
                                    "content": "量",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        387,
                                        736,
                                        402,
                                        751
                                    ],
                                    "type": "text",
                                    "content": "值",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        440,
                                        736,
                                        455,
                                        751
                                    ],
                                    "type": "text",
                                    "content": "置",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        735,
                                        507,
                                        753
                                    ],
                                    "type": "text",
                                    "content": "换",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 8
        },
        {
            "para_blocks": [
                {
                    "type": "table",
                    "bbox": [
                        88,
                        79,
                        508,
                        154
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                88,
                                79,
                                508,
                                154
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        88,
                                        79,
                                        508,
                                        154
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                88,
                                                79,
                                                508,
                                                154
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>$</td><td></td><td>$PATH</td></tr><tr><td>$</td><td>echo</td><td>${mname}</td></tr><tr><td>$</td><td></td><td>nname=bigdata</td></tr><tr><td>$</td><td>echo</td><td>${mname}</td></tr></table>",
                                            "image_path": "36dec5bbc95b0522a68a5bf7b0eb755a094482f37b3a2e7896e71cd713aa157c.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 0,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 0
                },
                {
                    "type": "table",
                    "bbox": [
                        87,
                        199,
                        508,
                        306
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                87,
                                199,
                                508,
                                306
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        87,
                                        199,
                                        508,
                                        306
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                87,
                                                199,
                                                508,
                                                306
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td colspan=\"3\">特 点</td><td>(</td><td colspan=\"3\">characteristic</td><td>)</td></tr><tr><td>解</td><td></td><td></td><td>释</td><td></td><td></td><td></td><td>性</td></tr><tr><td>速</td><td></td><td></td><td>度</td><td></td><td></td><td></td><td>慢</td></tr><tr><td>组</td><td colspan=\"2\">合</td><td>、</td><td colspan=\"3\">灵</td><td>活</td></tr><tr><td>Tab</td><td>键</td><td>与</td><td>历</td><td>史</td><td colspan=\"2\">命</td><td>令</td></tr><tr><td>脚</td><td colspan=\"2\">本</td><td>与</td><td colspan=\"3\">函</td><td>数</td></tr><tr><td>子</td><td></td><td></td><td>程</td><td></td><td></td><td></td><td>序</td></tr></table>",
                                            "image_path": "643501a2a06a7a8c19638356621268029c10bf1b74322a6c3f0c352ab0412a2f.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 1,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 1
                },
                {
                    "bbox": [
                        88,
                        309,
                        164,
                        322
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                308,
                                165,
                                324
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        308,
                                        165,
                                        324
                                    ],
                                    "type": "text",
                                    "content": "命令行执行过程",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "table",
                    "bbox": [
                        88,
                        335,
                        502,
                        396
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                88,
                                335,
                                502,
                                396
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        88,
                                        335,
                                        502,
                                        396
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                88,
                                                335,
                                                502,
                                                396
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>将</td><td>命</td><td>令</td><td>行</td><td>分</td><td>成</td><td>单</td><td>个</td><td>命</td><td>令</td><td>词</td></tr><tr><td>展</td><td></td><td>开</td><td></td><td></td><td>别</td><td></td><td></td><td>名</td><td></td><td></td></tr><tr><td>展</td><td>开</td><td>大</td><td>括</td><td>号</td><td>中</td><td>的</td><td>声</td><td>明</td><td>(</td><td>{}</td></tr><tr><td>展</td><td>开</td><td>颚</td><td>化</td><td></td><td>声</td><td></td><td>明</td><td></td><td>(</td><td>~</td></tr></table>",
                                            "image_path": "465055c63139246978be5884b66640de9159f6756cc2a48fa72277d0bb236f1d.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 3,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 3
                },
                {
                    "type": "table",
                    "bbox": [
                        88,
                        398,
                        502,
                        506
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                88,
                                398,
                                502,
                                506
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        88,
                                        398,
                                        502,
                                        506
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                88,
                                                398,
                                                502,
                                                506
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td colspan=\"3\">命 令 替 换 ($() 或 “”)</td></tr><tr><td colspan=\"3\">再 次 把 命 令 行 分 成 命 令 词</td></tr><tr><td colspan=\"3\">展 开 文 件 通 配 (*、?、[abc] 等 等)</td></tr><tr><td colspan=\"3\">准 备 I/0 重 定 向 (&lt;、&gt;</td></tr><tr><td colspan=\"3\">运 行 命 令 !</td></tr><tr><td colspan=\"3\">显 示 当 前 Shell 可 见 的 全 局 变 量</td></tr><tr><td colspan=\"2\">export</td><td>[-p]</td></tr></table>",
                                            "image_path": "3afa85af89b14c5bcb855c970df53fa1b4a54d272e221ac130d283a470c7b06b.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 4,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 4
                },
                {
                    "type": "table",
                    "bbox": [
                        88,
                        507,
                        505,
                        600
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                88,
                                507,
                                505,
                                600
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        88,
                                        507,
                                        505,
                                        600
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                88,
                                                507,
                                                505,
                                                600
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>定义 变量 值的 同时 声明 为 全局 变量 export &lt; 变量 名 1= 值 1&gt; [&lt; 变量 名 2= 值 2&gt; ...] 声 明 已 经 赋 值 的 某 个 ( 些 ) 局 部 变 量 为 全 局 变 量 export &lt; 变量 名 1&gt; [&lt; 变量 名 2&gt; ...] 声 明 已 经 赋 值 的 某 个 ( 些 ) 全 局 变 量 为 局 部 变 量 export -n &lt; 变量 名 1&gt; [&lt; 变量 名 2&gt; ...]</td></tr></table>",
                                            "image_path": "8a9ecb025b8f69306c1a18543d3a67b54e28f15084b19f54238422e225013184.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 5,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 5
                },
                {
                    "bbox": [
                        88,
                        635,
                        154,
                        654
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                634,
                                157,
                                656
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        634,
                                        157,
                                        656
                                    ],
                                    "type": "text",
                                    "content": "变量概念",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        691,
                        509,
                        751
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                692,
                                510,
                                703
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        692,
                                        510,
                                        703
                                    ],
                                    "type": "text",
                                    "content": "Shell 变量就是计算机中用于记录一个值（不一定是数值，也可以是字符或字符串）的符号，",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                707,
                                506,
                                719
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        707,
                                        506,
                                        719
                                    ],
                                    "type": "text",
                                    "content": "而这些符号将用于不同的运算处理中。通常变量与值是一对一的关系，可以通过表达式读",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                723,
                                506,
                                735
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        723,
                                        506,
                                        735
                                    ],
                                    "type": "text",
                                    "content": "取它的值并赋值给其它变量，也可以直接指定数值赋值给任意变量。为了便于运算和处理",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                90,
                                739,
                                505,
                                751
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        90,
                                        739,
                                        505,
                                        751
                                    ],
                                    "type": "text",
                                    "content": "大部分的编程语言会区分变量的类型，用于分别记录数值、字符或者字符串等等数据类型",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 9
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        86,
                        79,
                        506,
                        109
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                79,
                                505,
                                92
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        79,
                                        505,
                                        92
                                    ],
                                    "type": "text",
                                    "content": "Shell 中的变量也基本如此，有不同类型（但不用专门指定类型名），可以参与运算，有作",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                94,
                                138,
                                109
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        94,
                                        138,
                                        109
                                    ],
                                    "type": "text",
                                    "content": "用域限定。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        121,
                        508,
                        152
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                122,
                                505,
                                135
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        122,
                                        505,
                                        135
                                    ],
                                    "type": "text",
                                    "content": "变量的作用域即变量的有效范围（比如一个函数中、一个源文件中或者全局范围），在该",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                138,
                                462,
                                151
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        138,
                                        462,
                                        151
                                    ],
                                    "type": "text",
                                    "content": "范围内只能有一个同名变量。一旦离开则该变量无效，如同不存在这个变量一般。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        164,
                        508,
                        257
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                163,
                                508,
                                180
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        164,
                                        117,
                                        179
                                    ],
                                    "type": "text",
                                    "content": "Shell",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        163,
                                        163,
                                        508,
                                        180
                                    ],
                                    "type": "text",
                                    "content": "变 量 大 致 可 以 分 为 三 类",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                179,
                                502,
                                195
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        179,
                                        502,
                                        195
                                    ],
                                    "type": "text",
                                    "content": "内 部 变 量 ： 由 系 统 提 供 ， 用 户 只 能 使 用 不 能 修 改 。",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                195,
                                500,
                                210
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        195,
                                        500,
                                        210
                                    ],
                                    "type": "text",
                                    "content": "用 户 变 量 ： 由 用 户 建 立 和 修 改 ， 在 shell 脚 本 编 写 中 会 经 常 用 到 。",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                211,
                                506,
                                225
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        211,
                                        506,
                                        225
                                    ],
                                    "type": "text",
                                    "content": "环境变量：这些变量决定了用户工作的环境，它们不需要用户去定义，可以直接在 shell",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                227,
                                502,
                                243
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        227,
                                        502,
                                        243
                                    ],
                                    "type": "text",
                                    "content": "中 使 用 ， 其 中 某 些 变 量 用 户 可 以 修 改 。",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                243,
                                145,
                                257
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        243,
                                        145,
                                        257
                                    ],
                                    "type": "text",
                                    "content": "变量的操作",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "table",
                    "bbox": [
                        86,
                        269,
                        508,
                        568
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                86,
                                269,
                                508,
                                568
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        86,
                                        269,
                                        508,
                                        568
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                86,
                                                269,
                                                508,
                                                568
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>变</td><td>量</td><td></td><td>替</td><td></td><td>换</td><td></td><td>扩</td><td></td><td>展</td></tr><tr><td>变</td><td></td><td></td><td>量</td><td></td><td></td><td>测</td><td></td><td></td><td>试</td></tr><tr><td>变</td><td>量</td><td>的</td><td>字</td><td></td><td>符</td><td></td><td>串</td><td>操</td><td>作</td></tr><tr><td>变</td><td>量</td><td></td><td>的</td><td></td><td>间</td><td></td><td>接</td><td>引</td><td>用</td></tr><tr><td>变</td><td>量</td><td></td><td>的</td><td></td><td>数</td><td></td><td>值</td><td>计</td><td>算</td></tr><tr><td>$[expression]</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>$(expression))</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>expr</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>let</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>declare</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>-i</td></tr><tr><td>输</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>入</td></tr><tr><td>变</td><td></td><td></td><td>量</td><td></td><td></td><td>赋</td><td></td><td></td><td>值</td></tr><tr><td>name=value</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>readonly</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>从</td><td>标</td><td></td><td>准</td><td></td><td>输</td><td>入</td><td></td><td>读</td><td>取</td></tr><tr><td>read</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>输</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>出</td></tr><tr><td>echo</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>printf</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr></table>",
                                            "image_path": "0536e695b11d309596acdebad749bd94578fb63b88be318d3fd77cf65e71f787.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 3,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 3
                },
                {
                    "type": "table",
                    "bbox": [
                        86,
                        634,
                        595,
                        753
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                88,
                                594,
                                154,
                                608
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        89,
                                        595,
                                        154,
                                        608
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                89,
                                                595,
                                                154,
                                                608
                                            ],
                                            "type": "text",
                                            "content": "变量替换扩展",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ],
                            "index": 4,
                            "angle": 0,
                            "type": "table_caption"
                        },
                        {
                            "bbox": [
                                86,
                                634,
                                595,
                                753
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        86,
                                        634,
                                        595,
                                        753
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                86,
                                                634,
                                                595,
                                                753
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>Use Default Values</td><td>${var:-word}</td><td>若 var 存在且非空,则值为$var; 若 word, 但 var 的值不变。</td></tr><tr><td>Assign Default Values</td><td>${var:=word}</td><td>若 var 存在且非空,则值为$var; 若 word, 且 var 被赋值 word。</td></tr><tr><td></td><td></td><td></td></tr><tr><td>Display Error if Null or Unset</td><td>${var:?word}</td><td>若 var 存在且非空,则值为 $var; 若 v 息 word,并终止脚本。</td></tr><tr><td>Use Alternate Value</td><td>${var:+word}</td><td>若 var 存在且非空,则值为 word; 若变。</td></tr></table>",
                                            "image_path": "a730f7dfebc838bf3d7e8189fdabbb7e839d05e7a4f5e656a3517289ea8818ef.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 5,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 5
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 10
        },
        {
            "para_blocks": [
                {
                    "type": "table",
                    "bbox": [
                        86,
                        76,
                        595,
                        243
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                86,
                                76,
                                595,
                                243
                            ],
                            "lines": [],
                            "index": 0,
                            "angle": 0,
                            "type": "table_body",
                            "lines_deleted": true
                        }
                    ],
                    "index": 0
                },
                {
                    "type": "table",
                    "bbox": [
                        87,
                        323,
                        595,
                        581
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                88,
                                311,
                                175,
                                323
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        89,
                                        311,
                                        174,
                                        324
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                89,
                                                311,
                                                174,
                                                324
                                            ],
                                            "type": "text",
                                            "content": "字符串计数、截取",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ],
                            "index": 1,
                            "angle": 0,
                            "type": "table_caption"
                        },
                        {
                            "bbox": [
                                87,
                                323,
                                595,
                                581
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        87,
                                        323,
                                        595,
                                        581
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                87,
                                                323,
                                                595,
                                                581
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>${var}</td><td>返回字符串变量 var 的长度</td></tr><tr><td>${var:m}</td><td>返回${var}中从第 m 个字符到最后的部分</td></tr><tr><td>${var:m:len}</td><td>返回${var}中从第 m 个字符开始，长度为 len 的部分</td></tr><tr><td>${var#pattern}</td><td>删除${var}中开头部分与 pattern 匹配的最小部分</td></tr><tr><td>${var##pattern}</td><td>删除${var}中开头部分与 pattern 匹配的最大部分</td></tr><tr><td>${var%pattern}</td><td>删除${var}中结尾部分与 pattern 匹配的最小部分</td></tr><tr><td>${var%%pattern}</td><td>删除${var}中结尾部分与 pattern 匹配的最大部分</td></tr></table>",
                                            "image_path": "5858d712a5426a6e573b0c3b8300685b6ab9b9aeb0c03e5249ae5415888f8217.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 2,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 2
                },
                {
                    "type": "table",
                    "bbox": [
                        87,
                        605,
                        595,
                        751
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                88,
                                592,
                                143,
                                605
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        89,
                                        592,
                                        143,
                                        606
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                89,
                                                592,
                                                143,
                                                606
                                            ],
                                            "type": "text",
                                            "content": "字符串替换",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ],
                            "index": 3,
                            "angle": 0,
                            "type": "table_caption"
                        },
                        {
                            "bbox": [
                                87,
                                605,
                                595,
                                751
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        87,
                                        605,
                                        595,
                                        751
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                87,
                                                605,
                                                595,
                                                751
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>${var/old/new}</td><td>用 new 替换${var}中第一次出现的 old</td></tr><tr><td>${var//old/new}</td><td>用 new 替换${var}中所有的 old(全局替换)</td></tr><tr><td>${var/#old/new}</td><td>用 new 替换${var}中开头部分与 old 匹配的部分</td></tr><tr><td>${var/%old/new}</td><td>用 new 替换${var}中结尾部分与 old 匹配的部分</td></tr></table>",
                                            "image_path": "4514340594c97bd1abcae8d31ce6b1b7ea421e8f5cebc389574a6130a3a5bccd.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 4,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 4
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 11
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        140,
                        78,
                        500,
                        92
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                141,
                                75,
                                499,
                                96
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        141,
                                        77,
                                        163,
                                        94
                                    ],
                                    "type": "text",
                                    "content": "old",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        202,
                                        75,
                                        352,
                                        96
                                    ],
                                    "type": "text",
                                    "content": "中 可 以 使 用",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        390,
                                        76,
                                        499,
                                        95
                                    ],
                                    "type": "text",
                                    "content": "通 配 符 。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        140,
                        94,
                        505,
                        123
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                148,
                                94,
                                506,
                                109
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        148,
                                        94,
                                        255,
                                        109
                                    ],
                                    "type": "text",
                                    "content": "（ 2 ） var 可 以 是",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        255,
                                        95,
                                        268,
                                        108
                                    ],
                                    "type": "inline_equation",
                                    "content": "@",
                                    "score": 0.72
                                },
                                {
                                    "bbox": [
                                        268,
                                        94,
                                        506,
                                        109
                                    ],
                                    "type": "text",
                                    "content": "或 * ， 表 示 对 每 个 位 置 参 数 进 行 替 换",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                141,
                                110,
                                167,
                                124
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        141,
                                        110,
                                        167,
                                        124
                                    ],
                                    "type": "text",
                                    "content": "eval",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        136,
                        508,
                        151
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                85,
                                134,
                                508,
                                156
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        85,
                                        136,
                                        113,
                                        152
                                    ],
                                    "type": "text",
                                    "content": "eval",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        182,
                                        135,
                                        211,
                                        156
                                    ],
                                    "type": "text",
                                    "content": "arg1",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        280,
                                        135,
                                        317,
                                        155
                                    ],
                                    "type": "text",
                                    "content": "[arg2]",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        390,
                                        145,
                                        395,
                                        148
                                    ],
                                    "type": "text",
                                    "content": "..",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        470,
                                        134,
                                        508,
                                        154
                                    ],
                                    "type": "text",
                                    "content": "[argN]",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        153,
                        506,
                        167
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                152,
                                506,
                                169
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        152,
                                        149,
                                        169
                                    ],
                                    "type": "text",
                                    "content": "listpage=\"ls",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        249,
                                        153,
                                        261,
                                        168
                                    ],
                                    "type": "text",
                                    "content": "-l",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        361,
                                        155,
                                        370,
                                        166
                                    ],
                                    "type": "text",
                                    "content": "|",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        471,
                                        153,
                                        506,
                                        168
                                    ],
                                    "type": "text",
                                    "content": "more\"",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        169,
                        506,
                        182
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                167,
                                508,
                                186
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        168,
                                        112,
                                        183
                                    ],
                                    "type": "text",
                                    "content": "eval",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        458,
                                        167,
                                        508,
                                        186
                                    ],
                                    "type": "text",
                                    "content": "$listpage",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        211,
                        507,
                        224
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                211,
                                506,
                                225
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        211,
                                        112,
                                        225
                                    ],
                                    "type": "text",
                                    "content": "eval",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        428,
                                        212,
                                        506,
                                        225
                                    ],
                                    "type": "text",
                                    "content": "newstr=\\$$str2",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        227,
                        506,
                        240
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                224,
                                507,
                                243
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        226,
                                        113,
                                        242
                                    ],
                                    "type": "text",
                                    "content": "eval",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        265,
                                        224,
                                        295,
                                        242
                                    ],
                                    "type": "text",
                                    "content": "echo",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        448,
                                        225,
                                        507,
                                        243
                                    ],
                                    "type": "text",
                                    "content": "\\$${x}_URL",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        269,
                        506,
                        283
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                85,
                                267,
                                509,
                                288
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        85,
                                        267,
                                        509,
                                        288
                                    ],
                                    "type": "text",
                                    "content": "对 参 数 进 行 两 次 扫 描 和 替 换",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        101,
                        285,
                        506,
                        299
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                102,
                                285,
                                506,
                                300
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        102,
                                        285,
                                        506,
                                        300
                                    ],
                                    "type": "text",
                                    "content": "将 所 有 的 参 数 连 接 成 一 个 表 达 式 ， 并 计 算 或 执 行 该 表 达 式",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        129,
                        301,
                        506,
                        314
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                127,
                                299,
                                508,
                                317
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        127,
                                        299,
                                        508,
                                        317
                                    ],
                                    "type": "text",
                                    "content": "参 数 中 的 任 何 变 量 都 将 被 展 开",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        317,
                        164,
                        330
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                317,
                                164,
                                331
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        317,
                                        164,
                                        331
                                    ],
                                    "type": "text",
                                    "content": "变量的间接引用",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        344,
                        232,
                        358
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                344,
                                232,
                                358
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        344,
                                        232,
                                        358
                                    ],
                                    "type": "text",
                                    "content": "通过str2的值来引用str1的值",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        371,
                        508,
                        386
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 12,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                371,
                                506,
                                386
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        372,
                                        146,
                                        386
                                    ],
                                    "type": "text",
                                    "content": "str1=\"Hello",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        468,
                                        371,
                                        506,
                                        386
                                    ],
                                    "type": "text",
                                    "content": "World\"",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        388,
                        506,
                        400
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 13,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                388,
                                135,
                                402
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        388,
                                        107,
                                        402
                                    ],
                                    "type": "text",
                                    "content": "str2",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        108,
                                        390,
                                        115,
                                        399
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\cdot ^ { = }",
                                    "score": 0.59
                                },
                                {
                                    "bbox": [
                                        116,
                                        388,
                                        135,
                                        402
                                    ],
                                    "type": "text",
                                    "content": "str1",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        404,
                        506,
                        416
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 14,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                401,
                                508,
                                419
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        401,
                                        116,
                                        419
                                    ],
                                    "type": "text",
                                    "content": "echo",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        476,
                                        402,
                                        508,
                                        419
                                    ],
                                    "type": "text",
                                    "content": "$str2",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        419,
                        506,
                        431
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 15,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                419,
                                506,
                                433
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        419,
                                        112,
                                        433
                                    ],
                                    "type": "text",
                                    "content": "eval",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        427,
                                        419,
                                        506,
                                        433
                                    ],
                                    "type": "text",
                                    "content": "newstr=\\$$str2",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        435,
                        506,
                        447
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                433,
                                506,
                                449
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        433,
                                        116,
                                        449
                                    ],
                                    "type": "text",
                                    "content": "echo",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        463,
                                        433,
                                        506,
                                        449
                                    ],
                                    "type": "text",
                                    "content": "$newstr",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        451,
                        506,
                        462
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                449,
                                507,
                                465
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        449,
                                        117,
                                        465
                                    ],
                                    "type": "text",
                                    "content": "Hello",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        473,
                                        449,
                                        507,
                                        465
                                    ],
                                    "type": "text",
                                    "content": "World",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        466,
                        101,
                        478
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 18,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                465,
                                103,
                                481
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        465,
                                        103,
                                        481
                                    ],
                                    "type": "text",
                                    "content": "或",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        481,
                        506,
                        493
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 19,
                    "lines": [
                        {
                            "bbox": [
                                85,
                                479,
                                508,
                                497
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        85,
                                        480,
                                        112,
                                        496
                                    ],
                                    "type": "text",
                                    "content": "eval",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        275,
                                        480,
                                        304,
                                        497
                                    ],
                                    "type": "text",
                                    "content": "echo",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        467,
                                        479,
                                        508,
                                        497
                                    ],
                                    "type": "text",
                                    "content": "\\$$str2",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        497,
                        506,
                        509
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 20,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                496,
                                507,
                                512
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        496,
                                        117,
                                        512
                                    ],
                                    "type": "text",
                                    "content": "Hello",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        473,
                                        496,
                                        507,
                                        512
                                    ],
                                    "type": "text",
                                    "content": "World",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        513,
                        506,
                        525
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 21,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                511,
                                508,
                                529
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        512,
                                        101,
                                        527
                                    ],
                                    "type": "text",
                                    "content": "＃",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        189,
                                        512,
                                        232,
                                        528
                                    ],
                                    "type": "text",
                                    "content": "bash2.0",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        274,
                                        512,
                                        289,
                                        529
                                    ],
                                    "type": "text",
                                    "content": "以",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        327,
                                        511,
                                        344,
                                        529
                                    ],
                                    "type": "text",
                                    "content": "上",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        381,
                                        511,
                                        398,
                                        528
                                    ],
                                    "type": "text",
                                    "content": "才",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        436,
                                        511,
                                        453,
                                        529
                                    ],
                                    "type": "text",
                                    "content": "支",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        490,
                                        511,
                                        508,
                                        529
                                    ],
                                    "type": "text",
                                    "content": "持",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        528,
                        506,
                        541
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 22,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                526,
                                167,
                                544
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        526,
                                        167,
                                        544
                                    ],
                                    "type": "text",
                                    "content": "newstr=${!str2}",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        544,
                        506,
                        556
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 23,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                543,
                                506,
                                559
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        543,
                                        116,
                                        559
                                    ],
                                    "type": "text",
                                    "content": "echo",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        463,
                                        543,
                                        506,
                                        558
                                    ],
                                    "type": "text",
                                    "content": "$newstr",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        560,
                        506,
                        571
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 24,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                558,
                                507,
                                574
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        558,
                                        117,
                                        574
                                    ],
                                    "type": "text",
                                    "content": "Hello",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        473,
                                        558,
                                        507,
                                        574
                                    ],
                                    "type": "text",
                                    "content": "World",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        576,
                        101,
                        587
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 25,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                575,
                                103,
                                591
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        575,
                                        103,
                                        591
                                    ],
                                    "type": "text",
                                    "content": "或",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        592,
                        506,
                        603
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 26,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                589,
                                116,
                                606
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        589,
                                        116,
                                        606
                                    ],
                                    "type": "text",
                                    "content": "echo",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        607,
                        506,
                        618
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 27,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                605,
                                507,
                                620
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        605,
                                        117,
                                        620
                                    ],
                                    "type": "text",
                                    "content": "Hello",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        473,
                                        605,
                                        507,
                                        620
                                    ],
                                    "type": "text",
                                    "content": "World",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        622,
                        167,
                        634
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 28,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                622,
                                168,
                                636
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        622,
                                        168,
                                        636
                                    ],
                                    "type": "text",
                                    "content": "shell变量的分类",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        649,
                        506,
                        662
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 29,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                647,
                                507,
                                667
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        647,
                                        102,
                                        665
                                    ],
                                    "type": "text",
                                    "content": "用",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        154,
                                        647,
                                        169,
                                        666
                                    ],
                                    "type": "text",
                                    "content": "户",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        223,
                                        648,
                                        236,
                                        665
                                    ],
                                    "type": "text",
                                    "content": "自",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        288,
                                        647,
                                        306,
                                        666
                                    ],
                                    "type": "text",
                                    "content": "定",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        356,
                                        647,
                                        373,
                                        667
                                    ],
                                    "type": "text",
                                    "content": "义",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        423,
                                        647,
                                        440,
                                        666
                                    ],
                                    "type": "text",
                                    "content": "变",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        647,
                                        507,
                                        665
                                    ],
                                    "type": "text",
                                    "content": "量",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        665,
                        506,
                        678
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 30,
                    "lines": [
                        {
                            "bbox": [
                                85,
                                660,
                                509,
                                685
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        85,
                                        660,
                                        509,
                                        685
                                    ],
                                    "type": "text",
                                    "content": "由 用 户 自 己 定 义 、 修 改 和 使 用",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        681,
                        506,
                        693
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 31,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                678,
                                507,
                                698
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        679,
                                        116,
                                        696
                                    ],
                                    "type": "text",
                                    "content": "Shell",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        251,
                                        679,
                                        268,
                                        698
                                    ],
                                    "type": "text",
                                    "content": "环",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        331,
                                        678,
                                        348,
                                        698
                                    ],
                                    "type": "text",
                                    "content": "境",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        412,
                                        679,
                                        427,
                                        697
                                    ],
                                    "type": "text",
                                    "content": "变",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        492,
                                        679,
                                        507,
                                        696
                                    ],
                                    "type": "text",
                                    "content": "量",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        696,
                        506,
                        708
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 32,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                694,
                                507,
                                711
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        694,
                                        507,
                                        711
                                    ],
                                    "type": "text",
                                    "content": "由 系 统 维 护 ， 用 于 设 置 用 户 的 Shell 工 作 环 境",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        711,
                        506,
                        724
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 33,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                709,
                                508,
                                728
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        709,
                                        508,
                                        728
                                    ],
                                    "type": "text",
                                    "content": "只 有 少 数 的 变 量 用 户 可 以 修 改 其 值",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        727,
                        499,
                        740
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 34,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                724,
                                500,
                                744
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        724,
                                        280,
                                        744
                                    ],
                                    "type": "text",
                                    "content": "位 置 参 数 变 量",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        300,
                                        725,
                                        389,
                                        743
                                    ],
                                    "type": "text",
                                    "content": "（ Positional",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        409,
                                        726,
                                        474,
                                        742
                                    ],
                                    "type": "text",
                                    "content": "Parameters",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        489,
                                        728,
                                        500,
                                        740
                                    ],
                                    "type": "text",
                                    "content": "）",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        743,
                        506,
                        756
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 35,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                740,
                                508,
                                759
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        740,
                                        508,
                                        759
                                    ],
                                    "type": "text",
                                    "content": "通 过 命 令 行 给 程 序 传 递 执 行 参 数",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 12
        },
        {
            "para_blocks": [
                {
                    "type": "table",
                    "bbox": [
                        86,
                        77,
                        508,
                        155
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                86,
                                77,
                                508,
                                155
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        86,
                                        77,
                                        508,
                                        155
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                86,
                                                77,
                                                508,
                                                155
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td colspan=\"9\">可 用 shift 命 令 实 现 位 置 参 数 的 迁 移</td></tr><tr><td colspan=\"9\">专 用 参数 数 变 量 (Special Parameters)</td></tr><tr><td colspan=\"9\">Bash 预 定 义 的 特 殊 变 量</td></tr><tr><td colspan=\"9\">用 户 不 能 修 改 其 值</td></tr><tr><td colspan=\"9\">位置参数变量</td></tr></table>",
                                            "image_path": "6cc149646954f287832c242a8752e57e10098f5e2a687e55cffbe8b10aa6f709.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 0,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 0
                },
                {
                    "type": "table",
                    "bbox": [
                        86,
                        168,
                        506,
                        290
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                86,
                                168,
                                506,
                                290
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        86,
                                        168,
                                        506,
                                        290
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                86,
                                                168,
                                                506,
                                                290
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td colspan=\"2\">是 一 组 特 殊 的 内 置 变 量跟 在 脚 本 名 后 面 的 用 空 格 隔 开 的 每 个 字 符 串$1 表 示 第 1 个 参数 值 , ... , $9 表 示 第 9 个 参数 值${10} 表 示 第 10 个 参数 值, $\\{11\\} 表 示第 11 个 参数 值, ... ...位 置 参 数 的 用 途从 shell 命 令 / 脚 本 的 命 令 行 接 受 参数在 调 用 shell 函数 时 为 其 传 递 参数专用参数变量</td></tr></table>",
                                            "image_path": "c689524610915dc38010999d2525afdb3d19f903eeea905f416c68390890a59f.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 1,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 1
                },
                {
                    "bbox": [
                        86,
                        304,
                        500,
                        318
                    ],
                    "type": "phonetic",
                    "angle": 0,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                304,
                                500,
                                318
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        304,
                                        500,
                                        318
                                    ],
                                    "type": "text",
                                    "content": "$* 将所有位置参量看成一个字符串(以空格间隔)。"
                                }
                            ]
                        }
                    ],
                    "index": 2
                },
                {
                    "bbox": [
                        87,
                        321,
                        500,
                        334
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                318,
                                499,
                                337
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        318,
                                        108,
                                        337
                                    ],
                                    "type": "text",
                                    "content": "$@",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        153,
                                        320,
                                        499,
                                        335
                                    ],
                                    "type": "text",
                                    "content": "将 每 个 位 置 参 量 看 成 单 独 的 字 符 串 （ 以 空 格 间 隔 ） 。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        96,
                        336,
                        499,
                        350
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                94,
                                334,
                                502,
                                352
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        94,
                                        335,
                                        121,
                                        351
                                    ],
                                    "type": "text",
                                    "content": "“$*”",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        147,
                                        334,
                                        413,
                                        352
                                    ],
                                    "type": "text",
                                    "content": "将 所 有 位 置 参 量 看 成 一 个 字 符 串 （ 以",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        414,
                                        337,
                                        437,
                                        349
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 105",
                                    "score": 0.73
                                },
                                {
                                    "bbox": [
                                        438,
                                        334,
                                        502,
                                        352
                                    ],
                                    "type": "text",
                                    "content": "间 隔 ） 。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        96,
                        352,
                        499,
                        365
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                96,
                                352,
                                499,
                                365
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        96,
                                        353,
                                        122,
                                        364
                                    ],
                                    "type": "inline_equation",
                                    "content": "\" \\$ 0",
                                    "score": 0.73
                                },
                                {
                                    "bbox": [
                                        123,
                                        352,
                                        477,
                                        365
                                    ],
                                    "type": "text",
                                    "content": "将 每 个 位 置 参 量 看 成 单 独 的 字 符 串 （ 以 空 格 间 隔 ）",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        493,
                                        358,
                                        499,
                                        364
                                    ],
                                    "type": "text",
                                    "content": "。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        368,
                        499,
                        380
                    ],
                    "type": "phonetic",
                    "angle": 0,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                368,
                                499,
                                380
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        368,
                                        499,
                                        380
                                    ],
                                    "type": "text",
                                    "content": "$0 命令行上输入的 Shell 程序名。"
                                }
                            ]
                        }
                    ],
                    "index": 6
                },
                {
                    "bbox": [
                        87,
                        383,
                        499,
                        396
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                381,
                                502,
                                399
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        382,
                                        105,
                                        398
                                    ],
                                    "type": "text",
                                    "content": "$#",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        227,
                                        381,
                                        502,
                                        399
                                    ],
                                    "type": "text",
                                    "content": "表 示 命 令 行 上 参 数 的 个 数 。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        398,
                        505,
                        412
                    ],
                    "type": "phonetic",
                    "angle": 0,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                398,
                                505,
                                412
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        398,
                                        505,
                                        412
                                    ],
                                    "type": "text",
                                    "content": "进 程 状 态 相 关"
                                }
                            ]
                        }
                    ],
                    "index": 8
                },
                {
                    "bbox": [
                        87,
                        414,
                        505,
                        428
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                412,
                                508,
                                430
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        415,
                                        101,
                                        427
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 7",
                                    "score": 0.78
                                },
                                {
                                    "bbox": [
                                        150,
                                        412,
                                        508,
                                        430
                                    ],
                                    "type": "text",
                                    "content": "表 示 上 一 条 命 令 执 行 后 的 返 回 值",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        429,
                        505,
                        443
                    ],
                    "type": "phonetic",
                    "angle": 0,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                429,
                                505,
                                443
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        429,
                                        505,
                                        443
                                    ],
                                    "type": "text",
                                    "content": "$$ 当前 进程 的 进程号"
                                }
                            ]
                        }
                    ],
                    "index": 10
                },
                {
                    "bbox": [
                        87,
                        445,
                        505,
                        459
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                445,
                                506,
                                460
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        446,
                                        99,
                                        459
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ !",
                                    "score": 0.72
                                },
                                {
                                    "bbox": [
                                        149,
                                        445,
                                        465,
                                        460
                                    ],
                                    "type": "text",
                                    "content": "显 示 运 行 在 后 台 的 最 后 一 个 作 业 的",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        484,
                                        445,
                                        506,
                                        460
                                    ],
                                    "type": "text",
                                    "content": "PID",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        460,
                        505,
                        474
                    ],
                    "type": "phonetic",
                    "angle": 0,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                460,
                                505,
                                474
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        460,
                                        505,
                                        474
                                    ],
                                    "type": "text",
                                    "content": "$_ 在此之前执行的命令或脚本的最后一个参数"
                                }
                            ]
                        }
                    ],
                    "index": 12
                },
                {
                    "bbox": [
                        87,
                        476,
                        135,
                        489
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 13,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                476,
                                136,
                                491
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        476,
                                        136,
                                        491
                                    ],
                                    "type": "text",
                                    "content": "shift 命令",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        504,
                        126,
                        518
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 14,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                503,
                                128,
                                520
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        503,
                                        128,
                                        520
                                    ],
                                    "type": "text",
                                    "content": "Shift[n]",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "table",
                    "bbox": [
                        86,
                        531,
                        505,
                        669
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                86,
                                531,
                                505,
                                669
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        86,
                                        531,
                                        505,
                                        669
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                86,
                                                531,
                                                505,
                                                669
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td colspan=\"3\">将位置参量列表依次左移n次，缺省为左移一次</td></tr><tr><td colspan=\"3\">一旦位置参量列表被移动，最左端的那个参数就会从列表中删除</td></tr><tr><td colspan=\"3\">经常与循环结构语句一起使用，以便遍历每一个位置参数</td></tr><tr><td colspan=\"3\">$? : 返回上一条语句或脚本执行的状态</td></tr><tr><td>0</td><td>:</td><td>成功</td></tr><tr><td>1</td><td>-</td><td>255</td></tr><tr><td>exit</td><td>命</td><td>命</td></tr><tr><td>exit</td><td colspan=\"2\">命令用于退出脚本或当前 Shell</td></tr><tr><td>exit</td><td></td><td>n</td></tr></table>",
                                            "image_path": "9ec227275c1c4324dcfded387055819df045662bdc0dc9f04f63b64055fcbcdc.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 15,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 15
                },
                {
                    "bbox": [
                        87,
                        672,
                        505,
                        686
                    ],
                    "type": "phonetic",
                    "angle": 0,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                672,
                                505,
                                686
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        672,
                                        505,
                                        686
                                    ],
                                    "type": "text",
                                    "content": "n 是一 个从 0 到 255 的整数"
                                }
                            ]
                        }
                    ],
                    "index": 16
                },
                {
                    "bbox": [
                        87,
                        687,
                        505,
                        701
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                687,
                                506,
                                702
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        689,
                                        98,
                                        700
                                    ],
                                    "type": "text",
                                    "content": "0",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        120,
                                        687,
                                        506,
                                        702
                                    ],
                                    "type": "text",
                                    "content": "表 示 成 功 退 出 ， 非 零 表 示 遇 到 某 种 失 败",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        703,
                        505,
                        716
                    ],
                    "type": "phonetic",
                    "angle": 0,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                703,
                                505,
                                716
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        703,
                                        505,
                                        716
                                    ],
                                    "type": "text",
                                    "content": "返回 值 被 保存 在 状态 变 量 $? 中"
                                }
                            ]
                        }
                    ],
                    "index": 18
                }
            ],
            "discarded_blocks": [
                {
                    "bbox": [
                        87,
                        747,
                        96,
                        758
                    ],
                    "type": "page_number",
                    "angle": 0,
                    "index": 19,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                748,
                                96,
                                760
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        748,
                                        96,
                                        760
                                    ],
                                    "type": "text",
                                    "content": "0",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        493,
                        748,
                        499,
                        758
                    ],
                    "type": "page_number",
                    "angle": 0,
                    "index": 20,
                    "lines": []
                }
            ],
            "page_size": [
                595,
                841
            ],
            "page_idx": 13
        },
        {
            "para_blocks": [
                {
                    "type": "table",
                    "bbox": [
                        87,
                        77,
                        508,
                        201
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                87,
                                77,
                                508,
                                201
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        87,
                                        77,
                                        508,
                                        201
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                87,
                                                77,
                                                508,
                                                201
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>执</td><td></td><td>行</td><td></td><td></td><td>正</td><td></td><td></td><td>确</td></tr><tr><td>1</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>:</td></tr><tr><td>通</td><td></td><td>用</td><td></td><td></td><td>错</td><td></td><td></td><td>误</td></tr><tr><td>126</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>:</td></tr><tr><td>命</td><td>令</td><td>或</td><td>脚</td><td>本</td><td>没有</td><td>执行</td><td>行权</td><td>限</td></tr><tr><td>127</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>:</td></tr><tr><td>命</td><td></td><td>令</td><td></td><td>没</td><td></td><td>找</td><td></td><td>到</td></tr><tr><td>read</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr></table>",
                                            "image_path": "7ebc0b08b0ba05e9f626ccd71980b8644bfc7502ea8ae205e10ab0b80413a7be.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 0,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 0
                },
                {
                    "type": "table",
                    "bbox": [
                        87,
                        214,
                        506,
                        339
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                87,
                                214,
                                506,
                                339
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        87,
                                        214,
                                        506,
                                        339
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                87,
                                                214,
                                                506,
                                                339
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td colspan=\"3\">从键盘输入内容为变量赋值</td></tr><tr><td colspan=\"3\">read [-p]&quot; 信息&quot;] [var1 var2 ...]</td></tr><tr><td colspan=\"3\">若省略变量名,则将输入的内容存入REPLY变量</td></tr><tr><td colspan=\"3\">结合不同引号为变量赋值</td></tr><tr><td colspan=\"3\">双引号&quot;：允许通过$符号引用其他变量值</td></tr><tr><td colspan=\"3\">单引号&#x27;：禁止引用其他变量值,$视为普通字符</td></tr><tr><td colspan=\"3\">反撇号、`、`：将命令执行的结果输出给变量</td></tr><tr><td colspan=\"3\">只读变量</td></tr></table>",
                                            "image_path": "90a570c5c9bc35440804fda33806bfd223de41b75ba8fd2ed6c2f8f3dc062d71.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 1,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 1
                },
                {
                    "type": "table",
                    "bbox": [
                        88,
                        352,
                        507,
                        460
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                88,
                                352,
                                507,
                                460
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        88,
                                        352,
                                        507,
                                        460
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                88,
                                                352,
                                                507,
                                                460
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td colspan=\"2\">readonly</td><td>variable</td></tr><tr><td>使</td><td>用</td><td>echo</td></tr><tr><td colspan=\"3\">多行内容中不能出现双引号，否则 echo 提前结束</td></tr><tr><td colspan=\"3\">若确实需要使用双引号，需使用转义字符：\\”</td></tr><tr><td>使</td><td>用</td><td>here file</td></tr><tr><td colspan=\"3\">.END_可以是任意字符串，只要上下一致即可多行内容中不能出现内容为.END_开始的行，否则 cat 提前结束</td></tr></table>",
                                            "image_path": "8006282caf9dc331a0d1864f8259db7a2a7d5f8ce3dda142f3e35e932d29ca88.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 2,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 2
                },
                {
                    "bbox": [
                        86,
                        495,
                        182,
                        514
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                495,
                                183,
                                516
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        495,
                                        183,
                                        516
                                    ],
                                    "type": "text",
                                    "content": "2.2 变量声明",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        578,
                        313,
                        592
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                578,
                                314,
                                592
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        578,
                                        314,
                                        592
                                    ],
                                    "type": "text",
                                    "content": "这里简单举例说明在 Shell 中如何创建一个变量：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        606,
                        318,
                        620
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                606,
                                320,
                                621
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        606,
                                        320,
                                        621
                                    ],
                                    "type": "text",
                                    "content": "使用 declare 命令创建一个变量名为 tmp 的变量：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        634,
                        149,
                        647
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                632,
                                151,
                                650
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        632,
                                        151,
                                        650
                                    ],
                                    "type": "text",
                                    "content": "declare tmp",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        661,
                        506,
                        690
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                661,
                                505,
                                674
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        661,
                                        505,
                                        674
                                    ],
                                    "type": "text",
                                    "content": "其实也可以不用 declare 预声明一个变量，直接即用即创建，这里只是告诉你 declare 的",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                677,
                                358,
                                690
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        677,
                                        358,
                                        690
                                    ],
                                    "type": "text",
                                    "content": "作用，这在创建其它指定类型的变量（如数组）时会用到。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 14
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        86,
                        84,
                        166,
                        103
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                84,
                                166,
                                105
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        84,
                                        166,
                                        105
                                    ],
                                    "type": "text",
                                    "content": "2.3 变量名",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        140,
                        232,
                        153
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                141,
                                231,
                                153
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        141,
                                        231,
                                        153
                                    ],
                                    "type": "text",
                                    "content": "变量名的命名须遵循如下规则：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        168,
                        417,
                        264
                    ],
                    "type": "list",
                    "angle": 0,
                    "index": 6,
                    "blocks": [
                        {
                            "bbox": [
                                104,
                                168,
                                287,
                                180
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 2,
                            "lines": [
                                {
                                    "bbox": [
                                        114,
                                        164,
                                        289,
                                        183
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                114,
                                                164,
                                                289,
                                                183
                                            ],
                                            "type": "text",
                                            "content": "首个字符必须为字母（a-z，A-Z）。",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                104,
                                195,
                                313,
                                208
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 3,
                            "lines": [
                                {
                                    "bbox": [
                                        105,
                                        193,
                                        315,
                                        211
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                105,
                                                193,
                                                315,
                                                211
                                            ],
                                            "type": "text",
                                            "content": " 中间不能有空格，可以使用下划线（_）。",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                104,
                                222,
                                214,
                                235
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 4,
                            "lines": [
                                {
                                    "bbox": [
                                        117,
                                        222,
                                        215,
                                        236
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                117,
                                                222,
                                                215,
                                                236
                                            ],
                                            "type": "text",
                                            "content": "不能使用标点符号。",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                104,
                                250,
                                417,
                                264
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 5,
                            "lines": [
                                {
                                    "bbox": [
                                        104,
                                        248,
                                        420,
                                        266
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                104,
                                                248,
                                                420,
                                                266
                                            ],
                                            "type": "text",
                                            "content": " 不能使用 bash 里的关键字（可用 help 命令查看保留关键字）。",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "sub_type": "text"
                },
                {
                    "bbox": [
                        86,
                        285,
                        182,
                        303
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                284,
                                183,
                                305
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        284,
                                        183,
                                        305
                                    ],
                                    "type": "text",
                                    "content": "2.4 变量赋值",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        339,
                        500,
                        354
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                338,
                                500,
                                355
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        338,
                                        104,
                                        355
                                    ],
                                    "type": "text",
                                    "content": "变",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        132,
                                        339,
                                        147,
                                        354
                                    ],
                                    "type": "text",
                                    "content": "量",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        177,
                                        338,
                                        193,
                                        355
                                    ],
                                    "type": "text",
                                    "content": "赋",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        221,
                                        338,
                                        238,
                                        354
                                    ],
                                    "type": "text",
                                    "content": "值",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        273,
                                        339,
                                        284,
                                        354
                                    ],
                                    "type": "text",
                                    "content": "（",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        309,
                                        339,
                                        329,
                                        355
                                    ],
                                    "type": "text",
                                    "content": "定",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        356,
                                        339,
                                        373,
                                        355
                                    ],
                                    "type": "text",
                                    "content": "义",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        401,
                                        338,
                                        418,
                                        355
                                    ],
                                    "type": "text",
                                    "content": "变",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        447,
                                        339,
                                        461,
                                        354
                                    ],
                                    "type": "text",
                                    "content": "量",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        339,
                                        500,
                                        354
                                    ],
                                    "type": "text",
                                    "content": "）",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        356,
                        168,
                        368
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                355,
                                170,
                                370
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        355,
                                        170,
                                        370
                                    ],
                                    "type": "text",
                                    "content": "varName=Value",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        371,
                        123,
                        384
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                371,
                                124,
                                386
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        371,
                                        124,
                                        386
                                    ],
                                    "type": "text",
                                    "content": "export",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        424,
                        371,
                        505,
                        383
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                424,
                                371,
                                506,
                                384
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        424,
                                        371,
                                        506,
                                        384
                                    ],
                                    "type": "text",
                                    "content": "varName=Value",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        386,
                        292,
                        399
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 12,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                386,
                                292,
                                402
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        386,
                                        102,
                                        401
                                    ],
                                    "type": "text",
                                    "content": "引",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        151,
                                        386,
                                        166,
                                        402
                                    ],
                                    "type": "text",
                                    "content": "用",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        214,
                                        386,
                                        229,
                                        402
                                    ],
                                    "type": "text",
                                    "content": "变",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        277,
                                        386,
                                        292,
                                        401
                                    ],
                                    "type": "text",
                                    "content": "量",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        452,
                        387,
                        505,
                        398
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 13,
                    "lines": [
                        {
                            "bbox": [
                                451,
                                386,
                                506,
                                401
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        451,
                                        386,
                                        506,
                                        401
                                    ],
                                    "type": "text",
                                    "content": "$varName",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        402,
                        499,
                        415
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 14,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                400,
                                502,
                                418
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        400,
                                        502,
                                        418
                                    ],
                                    "type": "text",
                                    "content": "一 般 地 ， 所 有 的 Shell 变 量 都 是 字 符 串 。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        417,
                        499,
                        431
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 15,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                417,
                                500,
                                432
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        417,
                                        500,
                                        432
                                    ],
                                    "type": "text",
                                    "content": "当 变 量 的 值 仅 仅 包 含 数 字 时 才 允 许 进 行 数 值 计 算 。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        433,
                        504,
                        463
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                433,
                                505,
                                447
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        433,
                                        505,
                                        447
                                    ],
                                    "type": "text",
                                    "content": "在较新的 bash 中，可是使用 declare 或 typeset 命令声明变量及其属性，但一般不需要",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                449,
                                499,
                                462
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        449,
                                        499,
                                        462
                                    ],
                                    "type": "text",
                                    "content": "声明。而且为了使脚本兼容于不同的 shell，在没有必要的情况下尽量不使用变量声明。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        507,
                        386,
                        521
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                506,
                                389,
                                523
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        506,
                                        389,
                                        523
                                    ],
                                    "type": "text",
                                    "content": "变量赋值时，变量名不加美元符号（$，PHP 语言中变量需要）。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        535,
                        338,
                        549
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 18,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                533,
                                339,
                                552
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        533,
                                        111,
                                        552
                                    ],
                                    "type": "text",
                                    "content": "使用",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        111,
                                        536,
                                        121,
                                        546
                                    ],
                                    "type": "inline_equation",
                                    "content": "=",
                                    "score": 0.79
                                },
                                {
                                    "bbox": [
                                        121,
                                        533,
                                        339,
                                        552
                                    ],
                                    "type": "text",
                                    "content": "号赋值运算符，将变量 tmp 赋值为 shiyanlou。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        563,
                        173,
                        575
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 19,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                563,
                                173,
                                576
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        563,
                                        173,
                                        576
                                    ],
                                    "type": "text",
                                    "content": "# 正确的赋值方法",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        591,
                        164,
                        603
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 20,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                589,
                                166,
                                607
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        589,
                                        166,
                                        607
                                    ],
                                    "type": "text",
                                    "content": "tmp=shiyanlou",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        618,
                        173,
                        630
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 21,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                618,
                                173,
                                631
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        618,
                                        173,
                                        631
                                    ],
                                    "type": "text",
                                    "content": "# 错误的赋值方法",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        646,
                        169,
                        658
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 22,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                645,
                                171,
                                661
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        645,
                                        110,
                                        661
                                    ],
                                    "type": "text",
                                    "content": "tmp",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        110,
                                        647,
                                        120,
                                        656
                                    ],
                                    "type": "inline_equation",
                                    "content": "=",
                                    "score": 0.71
                                },
                                {
                                    "bbox": [
                                        120,
                                        645,
                                        171,
                                        661
                                    ],
                                    "type": "text",
                                    "content": "shiyanlou",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        673,
                        255,
                        686
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 23,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                671,
                                255,
                                688
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        671,
                                        255,
                                        688
                                    ],
                                    "type": "text",
                                    "content": "注意:变量名和等号之间不能有空格。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        701,
                        355,
                        714
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 24,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                702,
                                356,
                                714
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        702,
                                        356,
                                        714
                                    ],
                                    "type": "text",
                                    "content": "除了直接赋值，还可以用语句给变量赋值，如for 循环中：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        728,
                        172,
                        740
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 25,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                727,
                                172,
                                741
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        727,
                                        172,
                                        741
                                    ],
                                    "type": "text",
                                    "content": "for file in `ls /etc`",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 15
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        88,
                        113,
                        182,
                        132
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                112,
                                183,
                                133
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        112,
                                        183,
                                        133
                                    ],
                                    "type": "text",
                                    "content": "2.5 变量取值",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        169,
                        400,
                        184
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                169,
                                399,
                                183
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        169,
                                        399,
                                        183
                                    ],
                                    "type": "text",
                                    "content": "变量的名字就是变量保存值的地方。引用变量的值就叫做变量取值。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        195,
                        505,
                        226
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                196,
                                505,
                                210
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        196,
                                        505,
                                        210
                                    ],
                                    "type": "text",
                                    "content": "如果 variable 是一个变量的名字，那么 $variable 就是引用这个变量的值，即这变量所包",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                211,
                                138,
                                226
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        211,
                                        138,
                                        226
                                    ],
                                    "type": "text",
                                    "content": "含的数据。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        239,
                        505,
                        269
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                239,
                                505,
                                253
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        239,
                                        192,
                                        253
                                    ],
                                    "type": "text",
                                    "content": "$variable 事实上只是",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        192,
                                        240,
                                        200,
                                        252
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 1",
                                    "score": 0.51
                                },
                                {
                                    "bbox": [
                                        200,
                                        239,
                                        505,
                                        253
                                    ],
                                    "type": "text",
                                    "content": "{variable} 的简写形式。在某些上下文中 $variable 可能会引起错",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                255,
                                258,
                                269
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        255,
                                        258,
                                        269
                                    ],
                                    "type": "text",
                                    "content": "误，这时候就需要用 ${variable} 了。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        282,
                        505,
                        312
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                282,
                                505,
                                296
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        282,
                                        248,
                                        296
                                    ],
                                    "type": "text",
                                    "content": "读取变量的值，使用 echo 命令和",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        248,
                                        282,
                                        257,
                                        295
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 9",
                                    "score": 0.74
                                },
                                {
                                    "bbox": [
                                        257,
                                        282,
                                        289,
                                        296
                                    ],
                                    "type": "text",
                                    "content": "符号（",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        289,
                                        282,
                                        298,
                                        295
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 5",
                                    "score": 0.54
                                },
                                {
                                    "bbox": [
                                        299,
                                        282,
                                        505,
                                        296
                                    ],
                                    "type": "text",
                                    "content": "符号用于表示引用一个变量的值，初学者经",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                298,
                                160,
                                312
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        298,
                                        160,
                                        312
                                    ],
                                    "type": "text",
                                    "content": "常忘记输入）：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        326,
                        145,
                        341
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                322,
                                145,
                                342
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        322,
                                        145,
                                        342
                                    ],
                                    "type": "text",
                                    "content": "echo $tmp",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        353,
                        196,
                        368
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                352,
                                196,
                                369
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        352,
                                        132,
                                        369
                                    ],
                                    "type": "text",
                                    "content": "myname",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        132,
                                        355,
                                        139,
                                        364
                                    ],
                                    "type": "inline_equation",
                                    "content": "=",
                                    "score": 0.57
                                },
                                {
                                    "bbox": [
                                        139,
                                        352,
                                        196,
                                        369
                                    ],
                                    "type": "text",
                                    "content": "\"shiyanlou\"",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        380,
                        167,
                        395
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                380,
                                167,
                                396
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        380,
                                        167,
                                        396
                                    ],
                                    "type": "text",
                                    "content": "echo $myname",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        408,
                        174,
                        422
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                407,
                                176,
                                424
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        407,
                                        176,
                                        424
                                    ],
                                    "type": "text",
                                    "content": "echo ${myname}",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        436,
                        201,
                        449
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                434,
                                202,
                                451
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        434,
                                        202,
                                        451
                                    ],
                                    "type": "text",
                                    "content": "echo ${myname}Good",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        464,
                        193,
                        476
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                462,
                                194,
                                478
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        462,
                                        194,
                                        478
                                    ],
                                    "type": "text",
                                    "content": "echo $mynameGood",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        491,
                        173,
                        504
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                491,
                                174,
                                506
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        491,
                                        132,
                                        506
                                    ],
                                    "type": "text",
                                    "content": "myname",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        132,
                                        493,
                                        139,
                                        502
                                    ],
                                    "type": "inline_equation",
                                    "content": "=",
                                    "score": 0.59
                                },
                                {
                                    "bbox": [
                                        140,
                                        491,
                                        174,
                                        506
                                    ],
                                    "type": "text",
                                    "content": "\"miao\"",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        518,
                        174,
                        532
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 12,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                517,
                                176,
                                534
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        517,
                                        176,
                                        534
                                    ],
                                    "type": "text",
                                    "content": "echo ${myname}",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        574,
                        504,
                        602
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 13,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                574,
                                504,
                                587
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        574,
                                        504,
                                        587
                                    ],
                                    "type": "text",
                                    "content": "使用readonly 命令可以将变量定义为只读变量，只读变量的值不能被改变。 下面的例子",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                589,
                                231,
                                602
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        589,
                                        231,
                                        602
                                    ],
                                    "type": "text",
                                    "content": "尝试更改只读变量，结果报错：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        617,
                        147,
                        629
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 14,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                617,
                                148,
                                629
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        617,
                                        148,
                                        629
                                    ],
                                    "type": "text",
                                    "content": "#!/bin/bash",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        645,
                        264,
                        658
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 15,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                644,
                                264,
                                661
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        644,
                                        264,
                                        661
                                    ],
                                    "type": "text",
                                    "content": "myUrl=\"http://www.shiyanlou.com\"",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        672,
                        166,
                        686
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                671,
                                167,
                                687
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        671,
                                        167,
                                        687
                                    ],
                                    "type": "text",
                                    "content": "readonly myUrl",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        700,
                        256,
                        714
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                698,
                                257,
                                714
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        698,
                                        257,
                                        714
                                    ],
                                    "type": "text",
                                    "content": "myUrl=http://www.shiyanlou.com",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        727,
                        206,
                        740
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 18,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                728,
                                205,
                                740
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        728,
                                        205,
                                        740
                                    ],
                                    "type": "text",
                                    "content": "变量的查询、显示和取消",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 16
        },
        {
            "para_blocks": [
                {
                    "type": "table",
                    "bbox": [
                        86,
                        77,
                        508,
                        186
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                86,
                                77,
                                508,
                                186
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        86,
                                        77,
                                        508,
                                        186
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                86,
                                                77,
                                                508,
                                                186
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td colspan=\"3\">显示当前已经定义的所有变量</td></tr><tr><td colspan=\"3\">所有有环境变量：env</td></tr><tr><td colspan=\"3\">所有变量和函数（包括环境变量）：set</td></tr><tr><td colspan=\"3\">显示某些个变量的值</td></tr><tr><td>echo $NAME1</td><td>[$NAME2]</td><td>......]</td></tr><tr><td colspan=\"3\">取消变量的声明或赋值</td></tr><tr><td>unset</td><td></td><td>&lt;NAME&gt;</td></tr></table>",
                                            "image_path": "95e0c0efd0ddd138f4bd08fd9135cbe1c711592da80a5509dd543553a485d65f.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 0,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 0
                },
                {
                    "bbox": [
                        87,
                        215,
                        255,
                        229
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                215,
                                255,
                                230
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        215,
                                        255,
                                        230
                                    ],
                                    "type": "text",
                                    "content": "1. 子进程（Child Process）的本质",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        243,
                        504,
                        300
                    ],
                    "type": "list",
                    "angle": 0,
                    "index": 4,
                    "blocks": [
                        {
                            "bbox": [
                                104,
                                243,
                                493,
                                257
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 2,
                            "lines": [
                                {
                                    "bbox": [
                                        105,
                                        243,
                                        494,
                                        258
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                105,
                                                243,
                                                494,
                                                258
                                            ],
                                            "type": "text",
                                            "content": " 当你在 Shell 中运行 bash -c 'command' 时，会启动一个 全新的子 Shell 进程。",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                104,
                                270,
                                504,
                                300
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 3,
                            "lines": [
                                {
                                    "bbox": [
                                        114,
                                        270,
                                        506,
                                        285
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                114,
                                                270,
                                                506,
                                                285
                                            ],
                                            "type": "text",
                                            "content": "子进程会继承父进程的 环境变量（export 导出的变量），但 不会继承父进程的私",
                                            "score": 1.0
                                        }
                                    ]
                                },
                                {
                                    "bbox": [
                                        123,
                                        285,
                                        163,
                                        301
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                123,
                                                285,
                                                163,
                                                301
                                            ],
                                            "type": "text",
                                            "content": "有变量。",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "sub_type": "text"
                },
                {
                    "bbox": [
                        87,
                        313,
                        112,
                        327
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                313,
                                113,
                                330
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        313,
                                        113,
                                        330
                                    ],
                                    "type": "text",
                                    "content": "引用",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "table",
                    "bbox": [
                        86,
                        340,
                        504,
                        432
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                86,
                                340,
                                504,
                                432
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        86,
                                        340,
                                        504,
                                        432
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                86,
                                                340,
                                                504,
                                                432
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td colspan=\"11\">在bash中，有些字符具有特殊含义，如果需要忽略这些字符的特殊含义，就必须使用引用</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>引用</td><td>可以</td><td>通过</td><td>下</td><td>面</td><td>三</td><td>种</td><td>方</td><td>式</td><td>实</td><td>现</td></tr><tr><td></td><td>使</td><td>用</td><td>转</td><td>义</td><td></td><td>字</td><td>符</td><td>:</td><td>\\</td><td></td></tr><tr><td></td><td>使</td><td>用</td><td>单</td><td>引</td><td>号</td><td>:</td><td>&#x27;</td><td></td><td>&#x27;</td><td></td></tr><tr><td></td><td>使</td><td>用</td><td>双</td><td>引</td><td>号</td><td>:</td><td>“</td><td></td><td>”</td><td></td></tr></table>",
                                            "image_path": "382eeeb7bc44518f29fe28eb4ba7441d8a2de580b94d3bb4f0578a6bd7f5932f.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 6,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 6
                },
                {
                    "bbox": [
                        86,
                        435,
                        440,
                        449
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                434,
                                440,
                                449
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        434,
                                        440,
                                        449
                                    ],
                                    "type": "text",
                                    "content": "转义字符的引用方法就是直接在字符前加反斜杠。例：\\$，\\‘，\\“，\\\\，\\ ，\\!",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "table",
                    "bbox": [
                        86,
                        461,
                        505,
                        523
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                86,
                                461,
                                505,
                                523
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        86,
                                        461,
                                        505,
                                        523
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                86,
                                                461,
                                                505,
                                                523
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>强</td><td colspan=\"3\">引</td><td>用</td></tr><tr><td>单</td><td>引</td><td>号</td><td>对</td><td>是 强 引 用</td></tr><tr><td colspan=\"5\">单引号对中的字符都将作为普通字符,但不允许出现另外的单引号。</td></tr><tr><td colspan=\"5\">弱引用</td></tr></table>",
                                            "image_path": "5d1a7e6ca3e33eaa372a2593a5e7578d40354388a8cc066eee75fc8ff9f984da.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 8,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 8
                },
                {
                    "bbox": [
                        87,
                        525,
                        174,
                        538
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                525,
                                174,
                                539
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        525,
                                        174,
                                        539
                                    ],
                                    "type": "text",
                                    "content": "双引号对是弱引用",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "table",
                    "bbox": [
                        86,
                        539,
                        505,
                        616
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                86,
                                539,
                                505,
                                616
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        86,
                                        539,
                                        505,
                                        616
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                86,
                                                539,
                                                505,
                                                616
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td colspan=\"3\">双引号对中的部分字符仍保留特殊含义</td></tr><tr><td>$（ 美元 符 号）</td><td>-</td><td>变量 扩展</td></tr><tr><td>（ 反 引 号）</td><td>-</td><td>命 令 替 换</td></tr><tr><td>（ 反 斜 线）</td><td>-</td><td>禁止 单个 字符 扩展</td></tr><tr><td>！（ 叹 号）</td><td>-</td><td>历史 命 令 替 换</td></tr></table>",
                                            "image_path": "4cb13fa48e934209dac52184942f843c48f9c346d6a45f716d4fe7035af94365.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 10,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 10
                },
                {
                    "bbox": [
                        86,
                        652,
                        181,
                        671
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                651,
                                184,
                                673
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        651,
                                        184,
                                        673
                                    ],
                                    "type": "text",
                                    "content": "4.1 环境变量",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        708,
                        505,
                        753
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 12,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                708,
                                505,
                                721
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        708,
                                        505,
                                        721
                                    ],
                                    "type": "text",
                                    "content": "简单理解了变量的概念，就很容易理解环境变量了。环境变量的作用域比自定义变量的要",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                724,
                                505,
                                736
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        724,
                                        505,
                                        736
                                    ],
                                    "type": "text",
                                    "content": "大，如Shell 的环境变量作用于自身和它的子进程。在所有的 UNIX 和类UNIX 系统中，每",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                740,
                                505,
                                752
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        740,
                                        505,
                                        752
                                    ],
                                    "type": "text",
                                    "content": "个进程都有其各自的环境变量设置，且默认情况下，当一个进程被创建时，除了创建过程",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 17
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        86,
                        79,
                        505,
                        109
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                79,
                                505,
                                92
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        79,
                                        505,
                                        92
                                    ],
                                    "type": "text",
                                    "content": "中明确指定的话，它将继承其父进程的绝大部分环境设置。Shell 程序也作为一个进程运行",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                94,
                                499,
                                108
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        94,
                                        499,
                                        108
                                    ],
                                    "type": "text",
                                    "content": "在操作系统之上，而我们在 Shell 中运行的大部分命令都将以 Shell 的子进程的方式运行。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        121,
                        264,
                        135
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                121,
                                263,
                                135
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        121,
                                        263,
                                        135
                                    ],
                                    "type": "text",
                                    "content": "通常我们会涉及到的变量类型有三种：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        149,
                        504,
                        233
                    ],
                    "type": "list",
                    "angle": 0,
                    "index": 5,
                    "blocks": [
                        {
                            "bbox": [
                                104,
                                149,
                                504,
                                178
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 2,
                            "lines": [
                                {
                                    "bbox": [
                                        123,
                                        148,
                                        505,
                                        163
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                123,
                                                148,
                                                505,
                                                163
                                            ],
                                            "type": "text",
                                            "content": "当前 Shell 进程私有用户自定义变量，如上面我们创建的 tmp 变量，只在当前",
                                            "score": 1.0
                                        }
                                    ]
                                },
                                {
                                    "bbox": [
                                        124,
                                        165,
                                        189,
                                        178
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                124,
                                                165,
                                                189,
                                                178
                                            ],
                                            "type": "text",
                                            "content": "Shell 中有效。",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                105,
                                193,
                                230,
                                206
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 3,
                            "lines": [
                                {
                                    "bbox": [
                                        105,
                                        192,
                                        232,
                                        206
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                105,
                                                192,
                                                232,
                                                206
                                            ],
                                            "type": "text",
                                            "content": " Shell 本身内建的变量。",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                105,
                                221,
                                267,
                                233
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 4,
                            "lines": [
                                {
                                    "bbox": [
                                        104,
                                        221,
                                        267,
                                        233
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                104,
                                                221,
                                                267,
                                                233
                                            ],
                                            "type": "text",
                                            "content": " 从自定义变量导出的环境变量。",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "sub_type": "text"
                },
                {
                    "bbox": [
                        86,
                        248,
                        506,
                        276
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                248,
                                505,
                                262
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        248,
                                        505,
                                        262
                                    ],
                                    "type": "text",
                                    "content": "也有三个与上述三种环境变量相关的命令：set，env，export。这三个命令很相似，都是",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                264,
                                400,
                                276
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        264,
                                        400,
                                        276
                                    ],
                                    "type": "text",
                                    "content": "用于打印环境变量信息，区别在于涉及的变量范围不同。详见下表：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "table",
                    "bbox": [
                        87,
                        277,
                        454,
                        475
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                87,
                                277,
                                454,
                                475
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        87,
                                        277,
                                        454,
                                        475
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                87,
                                                277,
                                                454,
                                                475
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>命令</td><td>说明</td></tr><tr><td>set</td><td>显示当前 Shell 所有变量，包括其内建环境变量（与 Shell 外观等相关），用户自定义变量及导出的环境变量。</td></tr><tr><td>env</td><td>显示与当前用户相关的环境变量，还可以让命令在指定环境中运行。</td></tr><tr><td>export</td><td>显示从 Shell 中导出成环境变量的变量，也能通过它将自定义变量导出为环境变量。</td></tr></table>",
                                            "image_path": "f0efc7dd784b88be9736ab59105317c3b6b447849dfa4fa723f9ded6d21da12a.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 7,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 7
                },
                {
                    "bbox": [
                        86,
                        487,
                        246,
                        501
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                486,
                                246,
                                503
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        486,
                                        246,
                                        503
                                    ],
                                    "type": "text",
                                    "content": "vimdiff env.txt export.txt set.txt",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        543,
                        505,
                        571
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                543,
                                505,
                                557
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        543,
                                        505,
                                        557
                                    ],
                                    "type": "text",
                                    "content": "使用vimdiff 工具比较导出的几个文件的内容，退出 vimdiff 需要按下 Esc 后输入 :q 即可",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                86,
                                557,
                                118,
                                574
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        557,
                                        118,
                                        574
                                    ],
                                    "type": "text",
                                    "content": "退出。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        586,
                        506,
                        647
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                587,
                                505,
                                598
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        587,
                                        505,
                                        598
                                    ],
                                    "type": "text",
                                    "content": "关于哪些变量是环境变量，可以简单地理解成在当前进程的子进程有效则为环境变量，否",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                602,
                                505,
                                614
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        602,
                                        505,
                                        614
                                    ],
                                    "type": "text",
                                    "content": "则不是（有些人也将所有变量统称为环境变量，只是以全局环境变量和局部环境变量进行",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                618,
                                506,
                                632
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        618,
                                        506,
                                        632
                                    ],
                                    "type": "text",
                                    "content": "区分，我们只要理解它们的实质区别即可）。我们这里用 export 命令来体会一下，先在",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                633,
                                505,
                                647
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        633,
                                        505,
                                        647
                                    ],
                                    "type": "text",
                                    "content": "Shell 中设置一个变量 temp=shiyanlou，然后再新创建一个子 Shell 查看 temp 变量的值：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        688,
                        133,
                        701
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                688,
                                133,
                                703
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        688,
                                        133,
                                        703
                                    ],
                                    "type": "text",
                                    "content": "环境变量",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        743,
                        500,
                        756
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 12,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                743,
                                499,
                                756
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        743,
                                        499,
                                        756
                                    ],
                                    "type": "text",
                                    "content": "环 境 变 量 定 义 Shell 的 运 行 环 境 ， 保 证 Shell 命 令 的 正 确 执 行 。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 18
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        86,
                        79,
                        499,
                        109
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                79,
                                501,
                                92
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        79,
                                        501,
                                        92
                                    ],
                                    "type": "text",
                                    "content": "Shell 用环境变量来 确 定 查找路 径 、 注册目 录 、终端类型 、终端名 称 、 用 户 名 等 。",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                95,
                                498,
                                106
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        95,
                                        498,
                                        106
                                    ],
                                    "type": "text",
                                    "content": "所有环境变量都是全局变量（即可以传递给 Shell 的子进程），并可以由用户重新设置。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "table",
                    "bbox": [
                        86,
                        122,
                        594,
                        587
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                86,
                                122,
                                594,
                                587
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        86,
                                        122,
                                        594,
                                        587
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                86,
                                                122,
                                                594,
                                                587
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>变量名</td><td>含义</td></tr><tr><td>HOME</td><td>用户主目录</td></tr><tr><td>LOGNAME</td><td>登录名</td></tr><tr><td>USER</td><td>用户名，与登录名相同</td></tr><tr><td>PWD</td><td>当前目录/工作目录名</td></tr><tr><td>MAIL</td><td>用户的邮箱路径名</td></tr><tr><td>HOSTNAME</td><td>计算机的主机名</td></tr><tr><td>INPUTRC</td><td>默认的键盘映像</td></tr><tr><td>SHELL</td><td>用户所使用的 shell 的路径名</td></tr><tr><td>LANG</td><td>默认语言</td></tr><tr><td>HISTSIZE</td><td>history 所能记住的命令的最多个数</td></tr><tr><td>PATH</td><td>shell 查找用户输入命令的路径(目录列表)</td></tr><tr><td>PS1、PS2</td><td>shell 一级、二级命令提示符</td></tr></table>",
                                            "image_path": "8c70ec3f3467dd8dc326a26c22122471c617cb64c4965b4669e28ec8965a08c9.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 1,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 1
                },
                {
                    "bbox": [
                        86,
                        628,
                        399,
                        641
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                628,
                                399,
                                643
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        628,
                                        399,
                                        643
                                    ],
                                    "type": "text",
                                    "content": "注意：为了与普通变量区分，通常我们习惯将环境变量名设为大写。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        655,
                        151,
                        667
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                655,
                                151,
                                669
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        655,
                                        151,
                                        669
                                    ],
                                    "type": "text",
                                    "content": "4.2 变量时效",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        682,
                        504,
                        711
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                682,
                                504,
                                697
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        682,
                                        504,
                                        697
                                    ],
                                    "type": "text",
                                    "content": "当关机后，或者关闭当前的 shell 之后，环境变量就失效了。怎样才能让环境变量永久生",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                698,
                                119,
                                713
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        698,
                                        119,
                                        713
                                    ],
                                    "type": "text",
                                    "content": "效呢？",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        726,
                        324,
                        739
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                726,
                                324,
                                740
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        726,
                                        324,
                                        740
                                    ],
                                    "type": "text",
                                    "content": "按变量的生存周期来划分，Linux 变量可分为两类：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 19
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        105,
                        79,
                        426,
                        119
                    ],
                    "type": "list",
                    "angle": 0,
                    "index": 2,
                    "blocks": [
                        {
                            "bbox": [
                                105,
                                79,
                                330,
                                91
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 0,
                            "lines": [
                                {
                                    "bbox": [
                                        107,
                                        79,
                                        331,
                                        93
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                107,
                                                79,
                                                331,
                                                93
                                            ],
                                            "type": "text",
                                            "content": "1. 永久的：需要修改配置文件，变量永久生效；",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                105,
                                106,
                                426,
                                119
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 1,
                            "lines": [
                                {
                                    "bbox": [
                                        105,
                                        106,
                                        427,
                                        121
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                105,
                                                106,
                                                427,
                                                121
                                            ],
                                            "type": "text",
                                            "content": "2. 临时的：使用 export 命令行声明即可，变量在关闭 shell 时失效。",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "sub_type": "text"
                },
                {
                    "bbox": [
                        86,
                        134,
                        504,
                        163
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                134,
                                505,
                                148
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        134,
                                        505,
                                        148
                                    ],
                                    "type": "text",
                                    "content": "这里介绍两个重要文件 /etc/bashrc（有的 Linux 没有这个文件） 和 /etc/profile ，它们分",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                150,
                                502,
                                163
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        150,
                                        502,
                                        163
                                    ],
                                    "type": "text",
                                    "content": "别存放的是 shell 变量和环境变量。还有要注意区别的是每个用户目录下的一个隐藏文件：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        177,
                        505,
                        237
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                177,
                                505,
                                191
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        177,
                                        505,
                                        191
                                    ],
                                    "type": "text",
                                    "content": "这个 .profile 只对当前用户永久生效。因为它保存在当前用户的 Home 目录下，当切换用",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                191,
                                505,
                                207
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        191,
                                        505,
                                        207
                                    ],
                                    "type": "text",
                                    "content": "户时，工作目录可能一并被切换到对应的目录中，这个文件就无法生效。而写在 /etc/pro",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                209,
                                505,
                                222
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        209,
                                        505,
                                        222
                                    ],
                                    "type": "text",
                                    "content": "file 里面的是对所有用户永久生效，所以如果想要添加一个永久生效的环境变量，只需要",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                225,
                                320,
                                238
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        225,
                                        320,
                                        238
                                    ],
                                    "type": "text",
                                    "content": "打开 /etc/profile，在最后加上要添加的环境变量。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        258,
                        193,
                        276
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                256,
                                195,
                                278
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        256,
                                        195,
                                        278
                                    ],
                                    "type": "text",
                                    "content": "4.3 PATH 变量",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        313,
                        504,
                        373
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                313,
                                504,
                                326
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        313,
                                        504,
                                        326
                                    ],
                                    "type": "text",
                                    "content": "你可能很早之前就有疑问，我们在 Shell 中输入一个命令，Shell 是怎么知道去哪找到这个",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                329,
                                506,
                                342
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        329,
                                        506,
                                        342
                                    ],
                                    "type": "text",
                                    "content": "命令然后执行的呢？这是通过环境变量 PATH 来进行搜索的，熟悉 Windows 的用户可能",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                345,
                                505,
                                358
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        345,
                                        505,
                                        358
                                    ],
                                    "type": "text",
                                    "content": "知道 Windows 中的也是有这么一个 PATH 环境变量。这个 PATH 里面就保存了 Shell 中执",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                360,
                                189,
                                373
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        360,
                                        189,
                                        373
                                    ],
                                    "type": "text",
                                    "content": "行的命令的搜索路径。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        105,
                        388,
                        198,
                        401
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                107,
                                386,
                                198,
                                402
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        107,
                                        386,
                                        198,
                                        402
                                    ],
                                    "type": "text",
                                    "content": "1. 查看 PATH 内容",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        415,
                        220,
                        428
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                415,
                                220,
                                428
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        415,
                                        220,
                                        428
                                    ],
                                    "type": "text",
                                    "content": "查看PATH 环境变量的内容：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        443,
                        149,
                        454
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                443,
                                149,
                                456
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        443,
                                        149,
                                        456
                                    ],
                                    "type": "text",
                                    "content": "echo $PATH",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        498,
                        231,
                        511
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                499,
                                232,
                                513
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        499,
                                        232,
                                        513
                                    ],
                                    "type": "text",
                                    "content": "默认情况下你会看到如下输出：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        526,
                        480,
                        555
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                523,
                                482,
                                540
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        523,
                                        482,
                                        540
                                    ],
                                    "type": "text",
                                    "content": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                86,
                                543,
                                124,
                                555
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        543,
                                        124,
                                        555
                                    ],
                                    "type": "text",
                                    "content": "games",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        597,
                        504,
                        656
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 12,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                597,
                                503,
                                609
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        597,
                                        503,
                                        609
                                    ],
                                    "type": "text",
                                    "content": "如果你还记得 Linux 目录结构那一节的内容，你就应该知道上面这些目录下放的是哪一类",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                612,
                                505,
                                625
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        612,
                                        505,
                                        625
                                    ],
                                    "type": "text",
                                    "content": "文件了。通常这一类目录下放的都是可执行文件，当我们在 Shell 中执行一个命令时，系",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                629,
                                505,
                                640
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        629,
                                        505,
                                        640
                                    ],
                                    "type": "text",
                                    "content": "统就会按照 PATH 中设定的路径按照顺序依次到目录中去查找，如果存在同名的命令，则",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                644,
                                179,
                                656
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        644,
                                        179,
                                        656
                                    ],
                                    "type": "text",
                                    "content": "执行先找到的那个。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        671,
                        504,
                        715
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 13,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                671,
                                504,
                                684
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        671,
                                        504,
                                        684
                                    ],
                                    "type": "text",
                                    "content": "回到上一级目录，也就是 shiyanlou 家目录，当再想运行那两个程序时，会发现提示命令",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                687,
                                505,
                                699
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        687,
                                        505,
                                        699
                                    ],
                                    "type": "text",
                                    "content": "找不到，除非加上命令的完整路径，但那样很不方便，如何做到像使用系统命令一样执行",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                703,
                                471,
                                715
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        703,
                                        471,
                                        715
                                    ],
                                    "type": "text",
                                    "content": "自己创建的脚本文件或者程序呢？那就要将命令所在路径添加到PATH 环境变量了。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        105,
                        729,
                        208,
                        742
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 14,
                    "lines": [
                        {
                            "bbox": [
                                105,
                                729,
                                209,
                                744
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        105,
                                        729,
                                        209,
                                        744
                                    ],
                                    "type": "text",
                                    "content": "3. 自定义 PATH 变量",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 20
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        86,
                        79,
                        506,
                        109
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                79,
                                505,
                                92
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        79,
                                        505,
                                        92
                                    ],
                                    "type": "text",
                                    "content": "现在，我们添加自定义路径到“ PATH ”环境变量。在前面我们应该注意到 PATH 里面的路",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                95,
                                365,
                                107
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        95,
                                        365,
                                        107
                                    ],
                                    "type": "text",
                                    "content": "径是以: 作为分割符的，所以我们可以这样添加自定义路径：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        121,
                        274,
                        136
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                121,
                                276,
                                138
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        121,
                                        276,
                                        138
                                    ],
                                    "type": "text",
                                    "content": "PATH=$PATH:/home/shiyanlou/mybin",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        149,
                        510,
                        211
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                151,
                                509,
                                162
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        151,
                                        509,
                                        162
                                    ],
                                    "type": "text",
                                    "content": "你可能会意识到这样还并没有很好的解决问题，因为我给 PATH 环境变量追加了一个路径，",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                166,
                                505,
                                178
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        166,
                                        505,
                                        178
                                    ],
                                    "type": "text",
                                    "content": "它也只是在当前 Shell 有效，我一旦退出终端，再打开就会发现又失效了。有没有方法让",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                180,
                                506,
                                194
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        180,
                                        506,
                                        194
                                    ],
                                    "type": "text",
                                    "content": "添加的环境变量全局有效？或者每次启动 Shell 时自动执行上面添加自定义路径到 PATH",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                196,
                                357,
                                209
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        196,
                                        357,
                                        209
                                    ],
                                    "type": "text",
                                    "content": "的命令？下面我们就来说说后一种方式——让它自动执行。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        224,
                        508,
                        300
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                224,
                                505,
                                237
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        224,
                                        505,
                                        237
                                    ],
                                    "type": "text",
                                    "content": "在每个用户的 home 目录中有一个 Shell 每次启动时会默认执行一个配置脚本，以初始化",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                239,
                                505,
                                252
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        239,
                                        505,
                                        252
                                    ],
                                    "type": "text",
                                    "content": "环境，包括添加一些用户自定义环境变量等等。实验楼的环境使用的 Shell 是 zsh，它的配",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                256,
                                503,
                                269
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        256,
                                        503,
                                        269
                                    ],
                                    "type": "text",
                                    "content": "置文件是 .zshrc，相应的如果使用的 Shell 是 Bash，则配置文件为 .bashrc。它们在 etc",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                90,
                                271,
                                506,
                                284
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        90,
                                        271,
                                        506,
                                        284
                                    ],
                                    "type": "text",
                                    "content": "下还都有一个或多个全局的配置文件，不过我们一般只修改用户目录下的配置文件。Shell",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                287,
                                435,
                                300
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        287,
                                        435,
                                        300
                                    ],
                                    "type": "text",
                                    "content": "的种类有很多，可以使用cat /etc/shells 命令查看当前系统已安装的 Shell。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        314,
                        348,
                        327
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                315,
                                349,
                                327
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        315,
                                        349,
                                        327
                                    ],
                                    "type": "text",
                                    "content": "我们可以简单地使用下面命令直接添加内容到.zshrc 中：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        341,
                        357,
                        354
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                338,
                                357,
                                358
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        338,
                                        357,
                                        358
                                    ],
                                    "type": "text",
                                    "content": "echo \"PATH=$PATH:/home/shiyanlou/mybin\" >> .zshrc",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        396,
                        507,
                        442
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                396,
                                505,
                                410
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        396,
                                        143,
                                        410
                                    ],
                                    "type": "text",
                                    "content": "上述命令中",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        143,
                                        397,
                                        159,
                                        408
                                    ],
                                    "type": "inline_equation",
                                    "content": "> >",
                                    "score": 0.85
                                },
                                {
                                    "bbox": [
                                        160,
                                        396,
                                        483,
                                        410
                                    ],
                                    "type": "text",
                                    "content": "表示将标准输出以追加的方式重定向到一个文件中，注意前面用到的",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        483,
                                        397,
                                        493,
                                        408
                                    ],
                                    "type": "inline_equation",
                                    "content": ">",
                                    "score": 0.77
                                },
                                {
                                    "bbox": [
                                        493,
                                        396,
                                        505,
                                        410
                                    ],
                                    "type": "text",
                                    "content": "是",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                412,
                                505,
                                425
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        412,
                                        505,
                                        425
                                    ],
                                    "type": "text",
                                    "content": "以覆盖的方式重定向到一个文件中，使用的时候一定要注意分辨。在指定文件不存在的情",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                428,
                                200,
                                441
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        428,
                                        200,
                                        441
                                    ],
                                    "type": "text",
                                    "content": "况下都会创建新的文件。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        105,
                        455,
                        198,
                        469
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                105,
                                454,
                                199,
                                470
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        105,
                                        454,
                                        199,
                                        470
                                    ],
                                    "type": "text",
                                    "content": "4. 修改 PATH 变量",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "table",
                    "bbox": [
                        88,
                        497,
                        455,
                        747
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                87,
                                483,
                                248,
                                496
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        89,
                                        483,
                                        248,
                                        497
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                89,
                                                483,
                                                248,
                                                497
                                            ],
                                            "type": "text",
                                            "content": "PATH 变量的修改有以下几种方式：",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ],
                            "index": 8,
                            "angle": 0,
                            "type": "table_caption"
                        },
                        {
                            "bbox": [
                                88,
                                497,
                                455,
                                747
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        88,
                                        497,
                                        455,
                                        747
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                88,
                                                497,
                                                455,
                                                747
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>变量设置方式</td><td>说明</td></tr><tr><td>${变量名#匹配字串}</td><td>从头向后开始匹配，删除符合匹配字串的最短数据</td></tr><tr><td>${变量名##匹配字串}</td><td>从头向后开始匹配，删除符合匹配字串的最长数据</td></tr><tr><td>${变量名%匹配字串}</td><td>从尾向前开始匹配，删除符合匹配字串的最短数据</td></tr><tr><td>${变量名%%匹配字串}</td><td>从尾向前开始匹配，删除符合匹配字串的最长数据</td></tr><tr><td>${变量名/旧的字串/新的字串}</td><td>将符合旧字串的第一个字串替换为新的字串</td></tr><tr><td>${变量名//旧的字串/新的字串}</td><td>将符合旧字串的全部字串替换为新的字串</td></tr></table>",
                                            "image_path": "80b2d5c1c43c40f8f14bddcdb09334a88b6612aadb8c535afbaa004d5e1d8246.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 9,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 9
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 21
        },
        {
            "para_blocks": [
                {
                    "type": "table",
                    "bbox": [
                        88,
                        76,
                        454,
                        222
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                88,
                                76,
                                454,
                                222
                            ],
                            "lines": [],
                            "index": 0,
                            "angle": 0,
                            "type": "table_body",
                            "lines_deleted": true
                        }
                    ],
                    "index": 0
                },
                {
                    "bbox": [
                        86,
                        234,
                        172,
                        248
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                235,
                                171,
                                248
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        235,
                                        171,
                                        248
                                    ],
                                    "type": "text",
                                    "content": "4.4 环境变量删除",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        262,
                        274,
                        275
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                262,
                                276,
                                276
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        262,
                                        276,
                                        276
                                    ],
                                    "type": "text",
                                    "content": "可以使用unset 命令删除一个环境变量：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        290,
                        158,
                        303
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                290,
                                160,
                                305
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        290,
                                        160,
                                        305
                                    ],
                                    "type": "text",
                                    "content": "unset mypath",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        317,
                        192,
                        330
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                317,
                                193,
                                332
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        317,
                                        193,
                                        332
                                    ],
                                    "type": "text",
                                    "content": "4.5 环境变量立即生效",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        344,
                        504,
                        389
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                345,
                                505,
                                358
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        345,
                                        505,
                                        358
                                    ],
                                    "type": "text",
                                    "content": "前面我们在 Shell 中修改了一个配置脚本文件之后（比如 zsh 的配置文件 home 目录下",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                360,
                                505,
                                374
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        360,
                                        505,
                                        374
                                    ],
                                    "type": "text",
                                    "content": "的.zshrc），每次都要退出终端重新打开甚至重启主机之后其才能生效，很是麻烦，我们",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                376,
                                290,
                                389
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        376,
                                        290,
                                        389
                                    ],
                                    "type": "text",
                                    "content": "可以使用source 命令来让其立即生效，如：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        404,
                        188,
                        416
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                402,
                                189,
                                419
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        402,
                                        189,
                                        419
                                    ],
                                    "type": "text",
                                    "content": "cd /home/shiyanlou",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        432,
                        155,
                        443
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                431,
                                155,
                                444
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        431,
                                        155,
                                        444
                                    ],
                                    "type": "text",
                                    "content": "source .zshrc",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        486,
                        426,
                        499
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                486,
                                429,
                                501
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        486,
                                        429,
                                        501
                                    ],
                                    "type": "text",
                                    "content": "source 命令还有一个别名就是 .，上面的命令如果替换成 . 的方式就该是：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        514,
                        131,
                        525
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                513,
                                133,
                                528
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        513,
                                        133,
                                        528
                                    ],
                                    "type": "text",
                                    "content": ". ./.zshrc",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        541,
                        359,
                        554
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                542,
                                359,
                                556
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        542,
                                        359,
                                        556
                                    ],
                                    "type": "text",
                                    "content": "在使用.的时候，需要注意与表示当前路径的那个点区分开。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        569,
                        502,
                        597
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                570,
                                502,
                                582
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        570,
                                        502,
                                        582
                                    ],
                                    "type": "text",
                                    "content": "注意第一个点后面有一个空格，而且后面的文件必须指定完整的绝对或相对路径名",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                584,
                                173,
                                599
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        584,
                                        173,
                                        599
                                    ],
                                    "type": "text",
                                    "content": "source 则不需要。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        613,
                        111,
                        624
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 12,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                611,
                                113,
                                629
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        611,
                                        113,
                                        629
                                    ],
                                    "type": "text",
                                    "content": "总结",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        640,
                        329,
                        680
                    ],
                    "type": "list",
                    "angle": 0,
                    "index": 15,
                    "blocks": [
                        {
                            "bbox": [
                                104,
                                640,
                                312,
                                652
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 13,
                            "lines": [
                                {
                                    "bbox": [
                                        106,
                                        640,
                                        312,
                                        654
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                106,
                                                640,
                                                312,
                                                654
                                            ],
                                            "type": "text",
                                            "content": " 加./：显式执行当前目录下的脚本/程序。",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                104,
                                667,
                                329,
                                680
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 14,
                            "lines": [
                                {
                                    "bbox": [
                                        105,
                                        667,
                                        330,
                                        682
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                105,
                                                667,
                                                330,
                                                682
                                            ],
                                            "type": "text",
                                            "content": " 不加 ./：要求命令位于 PATH 包含的目录中。",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "sub_type": "text"
                },
                {
                    "bbox": [
                        86,
                        695,
                        397,
                        708
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                695,
                                396,
                                709
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        695,
                                        308,
                                        709
                                    ],
                                    "type": "text",
                                    "content": "位置变量用于接收从命令行传递到脚本的参数：",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        308,
                                        695,
                                        323,
                                        708
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 0",
                                    "score": 0.76
                                },
                                {
                                    "bbox": [
                                        323,
                                        695,
                                        330,
                                        709
                                    ],
                                    "type": "text",
                                    "content": "，",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        330,
                                        695,
                                        345,
                                        708
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 1",
                                    "score": 0.71
                                },
                                {
                                    "bbox": [
                                        345,
                                        695,
                                        353,
                                        709
                                    ],
                                    "type": "text",
                                    "content": "，",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        353,
                                        695,
                                        368,
                                        708
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 2",
                                    "score": 0.76
                                },
                                {
                                    "bbox": [
                                        368,
                                        695,
                                        376,
                                        709
                                    ],
                                    "type": "text",
                                    "content": "，",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        376,
                                        695,
                                        396,
                                        708
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 3\\ldots",
                                    "score": 0.62
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        723,
                        498,
                        751
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                723,
                                500,
                                736
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        723,
                                        103,
                                        735
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 0",
                                    "score": 0.85
                                },
                                {
                                    "bbox": [
                                        103,
                                        724,
                                        232,
                                        736
                                    ],
                                    "type": "text",
                                    "content": "就是脚本文件自身的名字，",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        232,
                                        723,
                                        246,
                                        735
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 1",
                                    "score": 0.84
                                },
                                {
                                    "bbox": [
                                        246,
                                        724,
                                        322,
                                        736
                                    ],
                                    "type": "text",
                                    "content": "是第一个参数，",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        323,
                                        723,
                                        337,
                                        735
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 2",
                                    "score": 0.86
                                },
                                {
                                    "bbox": [
                                        337,
                                        724,
                                        412,
                                        736
                                    ],
                                    "type": "text",
                                    "content": "是第二个参数，",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        412,
                                        723,
                                        427,
                                        735
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 3",
                                    "score": 0.83
                                },
                                {
                                    "bbox": [
                                        428,
                                        724,
                                        500,
                                        736
                                    ],
                                    "type": "text",
                                    "content": "是第三个参数，",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                737,
                                500,
                                753
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        737,
                                        166,
                                        753
                                    ],
                                    "type": "text",
                                    "content": "然后是第四个。",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        166,
                                        739,
                                        182,
                                        751
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 9",
                                    "score": 0.84
                                },
                                {
                                    "bbox": [
                                        182,
                                        737,
                                        427,
                                        753
                                    ],
                                    "type": "text",
                                    "content": "之后的位置参数就必须用大括号括起来了，比如，",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        427,
                                        739,
                                        456,
                                        751
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ \\{10\\}",
                                    "score": 0.61
                                },
                                {
                                    "bbox": [
                                        456,
                                        737,
                                        500,
                                        753
                                    ],
                                    "type": "text",
                                    "content": "，${11}，",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 22
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        88,
                        79,
                        120,
                        92
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                78,
                                122,
                                96
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        78,
                                        122,
                                        96
                                    ],
                                    "type": "text",
                                    "content": "${12}。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        106,
                        154,
                        120
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                106,
                                154,
                                121
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        106,
                                        154,
                                        121
                                    ],
                                    "type": "text",
                                    "content": "位置参数实例",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        134,
                        420,
                        147
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                134,
                                420,
                                148
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        134,
                                        420,
                                        148
                                    ],
                                    "type": "text",
                                    "content": "在运行脚本的时候，有时候是需要参数的，这里我们学习如何获取参数。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        161,
                        504,
                        343
                    ],
                    "type": "list",
                    "angle": 0,
                    "index": 9,
                    "blocks": [
                        {
                            "bbox": [
                                104,
                                161,
                                260,
                                173
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 3,
                            "lines": [
                                {
                                    "bbox": [
                                        105,
                                        162,
                                        260,
                                        174
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                105,
                                                162,
                                                260,
                                                174
                                            ],
                                            "type": "text",
                                            "content": " $# ： 传递到脚本的参数个数",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                104,
                                189,
                                504,
                                217
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 4,
                            "lines": [
                                {
                                    "bbox": [
                                        110,
                                        189,
                                        505,
                                        202
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                110,
                                                189,
                                                505,
                                                202
                                            ],
                                            "type": "text",
                                            "content": " $* ： 以一个单字符串显示所有向脚本传递的参数。与位置变量不同,此选项参数可",
                                            "score": 1.0
                                        }
                                    ]
                                },
                                {
                                    "bbox": [
                                        124,
                                        204,
                                        170,
                                        218
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                124,
                                                204,
                                                170,
                                                218
                                            ],
                                            "type": "text",
                                            "content": "超过 9 个",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                104,
                                232,
                                274,
                                244
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 5,
                            "lines": [
                                {
                                    "bbox": [
                                        105,
                                        232,
                                        275,
                                        246
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                105,
                                                232,
                                                275,
                                                246
                                            ],
                                            "type": "text",
                                            "content": " $$ ： 脚本运行的当前进程 ID 号",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                104,
                                260,
                                324,
                                272
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 6,
                            "lines": [
                                {
                                    "bbox": [
                                        105,
                                        260,
                                        325,
                                        275
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                105,
                                                260,
                                                325,
                                                275
                                            ],
                                            "type": "text",
                                            "content": " $! ： 后台运行的最后一个进程的进程 ID 号",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                104,
                                287,
                                418,
                                300
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 7,
                            "lines": [
                                {
                                    "bbox": [
                                        105,
                                        287,
                                        419,
                                        301
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                105,
                                                287,
                                                167,
                                                301
                                            ],
                                            "type": "text",
                                            "content": " $@ ： 与",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                167,
                                                287,
                                                182,
                                                300
                                            ],
                                            "type": "inline_equation",
                                            "content": "\\$ ^ { \\star }",
                                            "score": 0.73
                                        },
                                        {
                                            "bbox": [
                                                183,
                                                287,
                                                419,
                                                301
                                            ],
                                            "type": "text",
                                            "content": "相同,但是使用时加引号，并在引号中返回每个参数",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                104,
                                315,
                                504,
                                343
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 8,
                            "lines": [
                                {
                                    "bbox": [
                                        107,
                                        315,
                                        506,
                                        328
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                107,
                                                315,
                                                123,
                                                328
                                            ],
                                            "type": "text",
                                            "content": "",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                124,
                                                315,
                                                138,
                                                327
                                            ],
                                            "type": "inline_equation",
                                            "content": "\\$ 7",
                                            "score": 0.73
                                        },
                                        {
                                            "bbox": [
                                                138,
                                                315,
                                                506,
                                                328
                                            ],
                                            "type": "text",
                                            "content": "： 显示最后命令的退出状态。 0 表示没有错误，其他任何值（如 1）表明有错",
                                            "score": 1.0
                                        }
                                    ]
                                },
                                {
                                    "bbox": [
                                        123,
                                        329,
                                        143,
                                        346
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                123,
                                                329,
                                                143,
                                                346
                                            ],
                                            "type": "text",
                                            "content": "误。",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "sub_type": "text"
                },
                {
                    "bbox": [
                        105,
                        358,
                        171,
                        370
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                107,
                                358,
                                172,
                                372
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        107,
                                        358,
                                        172,
                                        372
                                    ],
                                    "type": "text",
                                    "content": "用户工作环境",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        386,
                        504,
                        414
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                107,
                                386,
                                504,
                                399
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        107,
                                        386,
                                        504,
                                        399
                                    ],
                                    "type": "text",
                                    "content": "用户登录系统时，Shell为用户自动定义唯一的工作环境并对该环境进行维护直至用户",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                105,
                                400,
                                499,
                                417
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        105,
                                        400,
                                        121,
                                        417
                                    ],
                                    "type": "text",
                                    "content": "注",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        298,
                                        400,
                                        314,
                                        416
                                    ],
                                    "type": "text",
                                    "content": "销",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        492,
                                        407,
                                        499,
                                        416
                                    ],
                                    "type": "text",
                                    "content": "。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        417,
                        503,
                        444
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 12,
                    "lines": [
                        {
                            "bbox": [
                                106,
                                416,
                                504,
                                431
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        106,
                                        416,
                                        504,
                                        431
                                    ],
                                    "type": "text",
                                    "content": "该环境将定义如身份、工作场所和正在运行的进程等特性。这些特性由指定的环境变",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                106,
                                431,
                                428,
                                447
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        106,
                                        431,
                                        120,
                                        446
                                    ],
                                    "type": "text",
                                    "content": "量",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        185,
                                        432,
                                        199,
                                        446
                                    ],
                                    "type": "text",
                                    "content": "值",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        263,
                                        431,
                                        279,
                                        447
                                    ],
                                    "type": "text",
                                    "content": "定",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        342,
                                        431,
                                        357,
                                        447
                                    ],
                                    "type": "text",
                                    "content": "义",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        421,
                                        438,
                                        428,
                                        446
                                    ],
                                    "type": "text",
                                    "content": "。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        448,
                        504,
                        491
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 13,
                    "lines": [
                        {
                            "bbox": [
                                105,
                                448,
                                499,
                                461
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        105,
                                        448,
                                        499,
                                        461
                                    ],
                                    "type": "text",
                                    "content": "用 户 工 作 环 境 有 登 录 环 境 和 非 登 录 环 境 之 分 。",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                107,
                                463,
                                499,
                                477
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        107,
                                        463,
                                        499,
                                        477
                                    ],
                                    "type": "text",
                                    "content": "登录环境是指用户登录系统时的工作环境，此时的 Shell对登录用户而言是主Shell。",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                107,
                                479,
                                493,
                                493
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        107,
                                        479,
                                        493,
                                        493
                                    ],
                                    "type": "text",
                                    "content": "非 登 录 环 境 是 指 用 户 再 调 用 子 Shell 时 所 使 用 的 用 户 环 境 。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        494,
                        504,
                        538
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 14,
                    "lines": [
                        {
                            "bbox": [
                                103,
                                491,
                                508,
                                511
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        103,
                                        491,
                                        123,
                                        511
                                    ],
                                    "type": "text",
                                    "content": "对",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        152,
                                        492,
                                        170,
                                        510
                                    ],
                                    "type": "text",
                                    "content": "所",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        201,
                                        492,
                                        218,
                                        511
                                    ],
                                    "type": "text",
                                    "content": "有",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        249,
                                        493,
                                        265,
                                        510
                                    ],
                                    "type": "text",
                                    "content": "用",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        296,
                                        493,
                                        313,
                                        510
                                    ],
                                    "type": "text",
                                    "content": "户",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        346,
                                        492,
                                        363,
                                        510
                                    ],
                                    "type": "text",
                                    "content": "进",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        394,
                                        492,
                                        411,
                                        510
                                    ],
                                    "type": "text",
                                    "content": "行",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        443,
                                        491,
                                        459,
                                        510
                                    ],
                                    "type": "text",
                                    "content": "设",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        493,
                                        508,
                                        510
                                    ],
                                    "type": "text",
                                    "content": "置",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                104,
                                507,
                                166,
                                526
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        104,
                                        507,
                                        166,
                                        526
                                    ],
                                    "type": "text",
                                    "content": "/etc/profile",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                104,
                                523,
                                167,
                                542
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        104,
                                        523,
                                        167,
                                        542
                                    ],
                                    "type": "text",
                                    "content": "/etc/bashrc",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        556,
                        504,
                        570
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 15,
                    "lines": [
                        {
                            "bbox": [
                                105,
                                555,
                                506,
                                573
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        105,
                                        556,
                                        121,
                                        573
                                    ],
                                    "type": "text",
                                    "content": "只",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        147,
                                        556,
                                        164,
                                        573
                                    ],
                                    "type": "text",
                                    "content": "对",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        192,
                                        556,
                                        205,
                                        572
                                    ],
                                    "type": "text",
                                    "content": "当",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        234,
                                        556,
                                        249,
                                        572
                                    ],
                                    "type": "text",
                                    "content": "前",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        276,
                                        556,
                                        292,
                                        572
                                    ],
                                    "type": "text",
                                    "content": "用",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        318,
                                        556,
                                        336,
                                        572
                                    ],
                                    "type": "text",
                                    "content": "户",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        362,
                                        556,
                                        379,
                                        572
                                    ],
                                    "type": "text",
                                    "content": "进",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        405,
                                        556,
                                        421,
                                        572
                                    ],
                                    "type": "text",
                                    "content": "行",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        449,
                                        556,
                                        465,
                                        572
                                    ],
                                    "type": "text",
                                    "content": "设",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        555,
                                        506,
                                        572
                                    ],
                                    "type": "text",
                                    "content": "置",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        573,
                        181,
                        585
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                107,
                                572,
                                183,
                                587
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        107,
                                        572,
                                        183,
                                        587
                                    ],
                                    "type": "text",
                                    "content": "~/.bash_profile",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        589,
                        154,
                        600
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                106,
                                587,
                                157,
                                602
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        106,
                                        587,
                                        157,
                                        602
                                    ],
                                    "type": "text",
                                    "content": "~/.bashrc",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        603,
                        504,
                        632
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 18,
                    "lines": [
                        {
                            "bbox": [
                                105,
                                602,
                                506,
                                618
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        105,
                                        602,
                                        506,
                                        618
                                    ],
                                    "type": "text",
                                    "content": "通 常 ， 个 人 bash 环 境 设 置 都 定 义 在 ~/.bashrc 文 件 里",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                107,
                                619,
                                279,
                                633
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        107,
                                        619,
                                        279,
                                        633
                                    ],
                                    "type": "text",
                                    "content": "登录shell和非登录shell的启动过程",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        647,
                        504,
                        660
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 19,
                    "lines": [
                        {
                            "bbox": [
                                104,
                                645,
                                508,
                                665
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        104,
                                        645,
                                        138,
                                        665
                                    ],
                                    "type": "text",
                                    "content": "Login",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        478,
                                        645,
                                        508,
                                        662
                                    ],
                                    "type": "text",
                                    "content": "shell",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        663,
                        504,
                        675
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 20,
                    "lines": [
                        {
                            "bbox": [
                                105,
                                661,
                                506,
                                677
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        105,
                                        661,
                                        164,
                                        677
                                    ],
                                    "type": "text",
                                    "content": "/etc/profile",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        285,
                                        662,
                                        295,
                                        677
                                    ],
                                    "type": "text",
                                    "content": "",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        414,
                                        661,
                                        506,
                                        677
                                    ],
                                    "type": "text",
                                    "content": "/etc/profile.d/*.sh",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        105,
                        693,
                        212,
                        706
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 21,
                    "lines": [
                        {
                            "bbox": [
                                106,
                                693,
                                213,
                                708
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        106,
                                        693,
                                        213,
                                        708
                                    ],
                                    "type": "text",
                                    "content": "$HOME/.bash_profile",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        105,
                        725,
                        185,
                        736
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 22,
                    "lines": [
                        {
                            "bbox": [
                                105,
                                725,
                                186,
                                739
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        105,
                                        725,
                                        186,
                                        739
                                    ],
                                    "type": "text",
                                    "content": "$HOME/.bashrc",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        312,
                        725,
                        320,
                        735
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 23,
                    "lines": [
                        {
                            "bbox": [
                                313,
                                726,
                                321,
                                738
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        313,
                                        726,
                                        321,
                                        738
                                    ],
                                    "type": "text",
                                    "content": "",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        447,
                        725,
                        505,
                        736
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 24,
                    "lines": [
                        {
                            "bbox": [
                                447,
                                724,
                                507,
                                739
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        447,
                                        724,
                                        507,
                                        739
                                    ],
                                    "type": "text",
                                    "content": "/etc/bashrc",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 23
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        104,
                        153,
                        509,
                        432
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                107,
                                153,
                                509,
                                165
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        107,
                                        153,
                                        509,
                                        165
                                    ],
                                    "type": "text",
                                    "content": "通常用户在 bash 下输入命令时不必把命令输全， shell 就能判断出你所要输入的命令。",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                107,
                                169,
                                505,
                                180
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        107,
                                        169,
                                        505,
                                        180
                                    ],
                                    "type": "text",
                                    "content": "该功能的核心思想是：bash 根据用户已输入的信息来查找以这些信息开头的命令，从",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                107,
                                185,
                                505,
                                197
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        107,
                                        185,
                                        505,
                                        197
                                    ],
                                    "type": "text",
                                    "content": "而试图完成当前命令的输入工作。用来执行这项功能的键是 Tab 键，按下一次 Tab 键",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                107,
                                200,
                                506,
                                213
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        107,
                                        200,
                                        506,
                                        213
                                    ],
                                    "type": "text",
                                    "content": "后，bash 就试图完成整个命令的输入，如果不成功，可以再按一次 Tab 键，这时",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                107,
                                215,
                                500,
                                228
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        107,
                                        215,
                                        500,
                                        228
                                    ],
                                    "type": "text",
                                    "content": "bash 将 列 出 所 有 能 够 与 当 前 输 入 字 符 相 匹 配 的 命 令 列 表 。",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                107,
                                231,
                                509,
                                244
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        107,
                                        231,
                                        509,
                                        244
                                    ],
                                    "type": "text",
                                    "content": "通常用户在 bash 下输入命令时不必把命令输全， shell 就能判断出你所要输入的命令。",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                106,
                                245,
                                506,
                                260
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        106,
                                        245,
                                        506,
                                        260
                                    ],
                                    "type": "text",
                                    "content": "该功能的核心思想是：bash 根据用户已输入的信息来查找以这些信息开头的命令，从",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                107,
                                262,
                                505,
                                275
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        107,
                                        262,
                                        505,
                                        275
                                    ],
                                    "type": "text",
                                    "content": "而试图完成当前命令的输入工作。用来执行这项功能的键是 Tab 键，按下一次 Tab 键",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                107,
                                278,
                                506,
                                291
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        107,
                                        278,
                                        506,
                                        291
                                    ],
                                    "type": "text",
                                    "content": "后，bash 就试图完成整个命令的输入，如果不成功，可以再按一次 Tab 键，这时",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                106,
                                293,
                                502,
                                306
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        106,
                                        293,
                                        502,
                                        306
                                    ],
                                    "type": "text",
                                    "content": "bash 将 列 出 所 有 能 够 与 当 前 输 入 字 符 相 匹 配 的 命 令 列 表 。",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                105,
                                308,
                                507,
                                323
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        105,
                                        309,
                                        120,
                                        322
                                    ],
                                    "type": "text",
                                    "content": "键",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        201,
                                        308,
                                        218,
                                        322
                                    ],
                                    "type": "text",
                                    "content": "盘",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        298,
                                        308,
                                        314,
                                        323
                                    ],
                                    "type": "text",
                                    "content": "快",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        394,
                                        308,
                                        411,
                                        323
                                    ],
                                    "type": "text",
                                    "content": "捷",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        308,
                                        507,
                                        323
                                    ],
                                    "type": "text",
                                    "content": "键",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                105,
                                323,
                                506,
                                339
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        105,
                                        323,
                                        506,
                                        339
                                    ],
                                    "type": "text",
                                    "content": "最 简 单 的 方 法 是 用 上 下 方 向 键 、 <PgUp> 和 <PgDn> 键 来 查 看 历 史 命 令",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                106,
                                340,
                                505,
                                353
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        106,
                                        340,
                                        505,
                                        353
                                    ],
                                    "type": "text",
                                    "content": "如果需要的话，可以使用键盘上的编辑功能键对显示在命令行上的命令进行编辑",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                105,
                                354,
                                506,
                                370
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        105,
                                        354,
                                        121,
                                        370
                                    ],
                                    "type": "text",
                                    "content": "感",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        182,
                                        355,
                                        199,
                                        370
                                    ],
                                    "type": "text",
                                    "content": "叹",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        260,
                                        354,
                                        275,
                                        370
                                    ],
                                    "type": "text",
                                    "content": "号",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        336,
                                        355,
                                        354,
                                        370
                                    ],
                                    "type": "text",
                                    "content": "的",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        413,
                                        355,
                                        430,
                                        370
                                    ],
                                    "type": "text",
                                    "content": "用",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        356,
                                        506,
                                        370
                                    ],
                                    "type": "text",
                                    "content": "法",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                105,
                                370,
                                508,
                                386
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        105,
                                        370,
                                        120,
                                        386
                                    ],
                                    "type": "text",
                                    "content": "用",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        159,
                                        372,
                                        171,
                                        385
                                    ],
                                    "type": "text",
                                    "content": "!!",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        208,
                                        370,
                                        508,
                                        386
                                    ],
                                    "type": "text",
                                    "content": "执 行 最 近 执 行 过 的 命 令",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                105,
                                386,
                                506,
                                401
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        105,
                                        386,
                                        120,
                                        401
                                    ],
                                    "type": "text",
                                    "content": "用",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        130,
                                        386,
                                        274,
                                        401
                                    ],
                                    "type": "text",
                                    "content": "! < 命 令 事 件 号",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        274,
                                        388,
                                        285,
                                        398
                                    ],
                                    "type": "inline_equation",
                                    "content": ">",
                                    "score": 0.6
                                },
                                {
                                    "bbox": [
                                        285,
                                        386,
                                        506,
                                        401
                                    ],
                                    "type": "text",
                                    "content": "执 行 已 经 运 行 过 的 命 令",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                106,
                                402,
                                505,
                                416
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        106,
                                        402,
                                        270,
                                        416
                                    ],
                                    "type": "text",
                                    "content": "用 ! <已经使用过的命令前面的部分",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        270,
                                        403,
                                        279,
                                        414
                                    ],
                                    "type": "inline_equation",
                                    "content": ">",
                                    "score": 0.61
                                },
                                {
                                    "bbox": [
                                        279,
                                        402,
                                        505,
                                        416
                                    ],
                                    "type": "text",
                                    "content": "执行已经运行过的以该字符串开头的最近的命令",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                105,
                                417,
                                151,
                                433
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        105,
                                        417,
                                        151,
                                        433
                                    ],
                                    "type": "text",
                                    "content": "命令别名",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "code",
                    "bbox": [
                        104,
                        444,
                        506,
                        631
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                104,
                                444,
                                506,
                                631
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        104,
                                        444,
                                        506,
                                        631
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                104,
                                                444,
                                                506,
                                                631
                                            ],
                                            "type": "text",
                                            "content": "允许用户按照自己喜欢的方式对命令进行自定义格式  \nalias [alias_name='original_command']说明  \nalias_name 是用户给命令取的别名。original_command是原来的命令和参数。若命令中包含空格或其他的特殊字符串必须使用引号。在定义别名时，等号两边不允许有空格。不带任何参数的alias命令显示当前已定义的所有别名。可以使用unalias alias_name命令取消某个别名的定义。如果用户需要别名的定义在每次登录时均有效，应该将其写入用户自家目录下的.bashrc 文件 中"
                                        }
                                    ]
                                }
                            ],
                            "index": 7,
                            "angle": 0,
                            "type": "code_body"
                        }
                    ],
                    "index": 7,
                    "sub_type": "code",
                    "guess_lang": "txt"
                },
                {
                    "type": "code",
                    "bbox": [
                        104,
                        647,
                        508,
                        709
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                104,
                                647,
                                508,
                                709
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        104,
                                        647,
                                        508,
                                        709
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                104,
                                                647,
                                                508,
                                                709
                                            ],
                                            "type": "text",
                                            "content": "定义 别 名 举 例  \nalias Ih='ls -lh'  \nalias grep='grep --color=auto'  \nalias gitcam='git commit -a -m'"
                                        }
                                    ]
                                }
                            ],
                            "index": 8,
                            "angle": 0,
                            "type": "code_body"
                        }
                    ],
                    "index": 8,
                    "sub_type": "code",
                    "guess_lang": "shell"
                },
                {
                    "bbox": [
                        105,
                        711,
                        506,
                        756
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                105,
                                710,
                                508,
                                724
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        105,
                                        710,
                                        121,
                                        724
                                    ],
                                    "type": "text",
                                    "content": "注",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        492,
                                        710,
                                        508,
                                        724
                                    ],
                                    "type": "text",
                                    "content": "意",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                106,
                                726,
                                506,
                                740
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        106,
                                        726,
                                        506,
                                        740
                                    ],
                                    "type": "text",
                                    "content": "若系统中有一个命令，同时又定义了一个与之同名的别名（例如，系统中有 grep命令，",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                105,
                                742,
                                500,
                                756
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        105,
                                        742,
                                        500,
                                        756
                                    ],
                                    "type": "text",
                                    "content": "且又 定义了 grep 的 别 名 ） ，则别 名 将优先 于 系 统 中原有 的 命 令 的 执 行 。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [
                {
                    "bbox": [
                        105,
                        95,
                        161,
                        107
                    ],
                    "type": "header",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                105,
                                93,
                                161,
                                111
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        105,
                                        93,
                                        161,
                                        111
                                    ],
                                    "type": "text",
                                    "content": "Non-Login",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        105,
                        110,
                        186,
                        121
                    ],
                    "type": "header",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                105,
                                110,
                                186,
                                124
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        105,
                                        110,
                                        186,
                                        124
                                    ],
                                    "type": "text",
                                    "content": "$HOME/.bashrc",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        105,
                        126,
                        151,
                        138
                    ],
                    "type": "header",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                105,
                                124,
                                152,
                                141
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        105,
                                        124,
                                        152,
                                        141
                                    ],
                                    "type": "text",
                                    "content": "命令补全",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        480,
                        95,
                        506,
                        106
                    ],
                    "type": "header",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                479,
                                93,
                                508,
                                109
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        479,
                                        93,
                                        508,
                                        109
                                    ],
                                    "type": "text",
                                    "content": "shell",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        312,
                        111,
                        321,
                        121
                    ],
                    "type": "header",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                313,
                                111,
                                321,
                                123
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        313,
                                        111,
                                        321,
                                        123
                                    ],
                                    "type": "text",
                                    "content": "",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        448,
                        111,
                        506,
                        122
                    ],
                    "type": "header",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                447,
                                109,
                                506,
                                124
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        447,
                                        109,
                                        506,
                                        124
                                    ],
                                    "type": "text",
                                    "content": "/etc/bashrc",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "page_size": [
                595,
                841
            ],
            "page_idx": 24
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        105,
                        79,
                        506,
                        110
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                105,
                                78,
                                506,
                                93
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        105,
                                        78,
                                        506,
                                        93
                                    ],
                                    "type": "text",
                                    "content": "要想临时使用系统中的命令而非别名，应该在命令前添加“\\”字符，例如，$ \\grep 命",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                106,
                                94,
                                462,
                                109
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        106,
                                        94,
                                        462,
                                        109
                                    ],
                                    "type": "text",
                                    "content": "令将运行系统中原来的 grep 命令而不是 grep 别名，它不在输出中显示颜色。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        128,
                        123,
                        147
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                85,
                                126,
                                124,
                                149
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        85,
                                        126,
                                        124,
                                        149
                                    ],
                                    "type": "text",
                                    "content": "运算",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        199,
                        505,
                        290
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                198,
                                508,
                                215
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        199,
                                        117,
                                        213
                                    ],
                                    "type": "text",
                                    "content": "Bash",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        157,
                                        198,
                                        508,
                                        215
                                    ],
                                    "type": "text",
                                    "content": "变 量 没 有 严 格 的 类 型 定 义",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                86,
                                213,
                                508,
                                230
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        213,
                                        173,
                                        230
                                    ],
                                    "type": "text",
                                    "content": "本 质 上",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        213,
                                        215,
                                        245,
                                        228
                                    ],
                                    "type": "text",
                                    "content": "Bash",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        281,
                                        213,
                                        508,
                                        230
                                    ],
                                    "type": "text",
                                    "content": "变 量 都 是 字 符 串",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                230,
                                505,
                                244
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        230,
                                        505,
                                        244
                                    ],
                                    "type": "text",
                                    "content": "若一个字面常量或变量的值是纯数字的，不包含字母或其他字符， Bash可以将其视为长",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                245,
                                505,
                                260
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        245,
                                        505,
                                        260
                                    ],
                                    "type": "text",
                                    "content": "整 型 值 ， 并 可 做 算 数 运 算 和 比 较 运 算 。",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                86,
                                260,
                                508,
                                277
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        261,
                                        116,
                                        275
                                    ],
                                    "type": "text",
                                    "content": "Bash",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        150,
                                        260,
                                        508,
                                        277
                                    ],
                                    "type": "text",
                                    "content": "也 允 许 显 式 地 声 明 整 型 变 量",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                86,
                                275,
                                506,
                                293
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        275,
                                        129,
                                        293
                                    ],
                                    "type": "text",
                                    "content": "declare",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        192,
                                        278,
                                        206,
                                        291
                                    ],
                                    "type": "text",
                                    "content": "-i",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        336,
                                        277,
                                        351,
                                        291
                                    ],
                                    "type": "text",
                                    "content": "变",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        415,
                                        277,
                                        428,
                                        291
                                    ],
                                    "type": "text",
                                    "content": "量",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        492,
                                        277,
                                        506,
                                        291
                                    ],
                                    "type": "text",
                                    "content": "名",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "table",
                    "bbox": [
                        103,
                        290,
                        421,
                        438
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                103,
                                290,
                                421,
                                438
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        103,
                                        290,
                                        421,
                                        438
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                103,
                                                290,
                                                421,
                                                438
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>+、-、*、/ (四则运算)</td></tr><tr><td>**、% (幂运算和模运算,取余数)</td></tr><tr><td>&lt;&lt;、&gt;&gt; (按位左移和按位右移)</td></tr><tr><td>&amp;、^、| (按位与、按位异或和按位或)</td></tr><tr><td>=、+=、-=、*=、/=、%=&gt;&lt;&lt;=、&gt;==、&amp;=、^=、|= (赋值运算)</td></tr><tr><td>&lt;、&gt;、&lt;=、&gt;=、==、!= (比较操作符)</td></tr><tr><td>&amp;&amp;、|| (逻辑与和逻辑或)</td></tr></table>",
                                            "image_path": "081c888b50dca276f3f54733ce43d6383c374f344a628b63bdb0a795ca40c019.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 3,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 3
                },
                {
                    "bbox": [
                        106,
                        453,
                        348,
                        470
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                104,
                                451,
                                350,
                                471
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        104,
                                        451,
                                        350,
                                        471
                                    ],
                                    "type": "text",
                                    "content": "注：按位运算是以二进制形式进行的。",
                                    "score": 0.998
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        507,
                        510,
                        553
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                508,
                                509,
                                520
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        508,
                                        509,
                                        520
                                    ],
                                    "type": "text",
                                    "content": "Bash本身没有计算功能，需要借助其他命令完成表达式的运算，包括算术运算和逻辑运算。",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                523,
                                511,
                                536
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        523,
                                        511,
                                        536
                                    ],
                                    "type": "text",
                                    "content": "在表达式中使用了各种运算符，具体于使用的命令有关，参看相关命令的 man帮助手册。",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                539,
                                487,
                                554
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        539,
                                        487,
                                        554
                                    ],
                                    "type": "text",
                                    "content": "expr 命令可以进行一些算术运算，包括加、减、乘、除等。也可以进行一些逻辑运算。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        566,
                        415,
                        661
                    ],
                    "type": "list",
                    "angle": 0,
                    "index": 10,
                    "blocks": [
                        {
                            "bbox": [
                                104,
                                566,
                                415,
                                579
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 6,
                            "lines": [
                                {
                                    "bbox": [
                                        122,
                                        566,
                                        414,
                                        580
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                122,
                                                566,
                                                414,
                                                580
                                            ],
                                            "type": "text",
                                            "content": "计算结果赋值给变量时，要注意使用反撇号（与~ 在同一个键）",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                104,
                                594,
                                392,
                                607
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 7,
                            "lines": [
                                {
                                    "bbox": [
                                        123,
                                        594,
                                        392,
                                        608
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                123,
                                                594,
                                                273,
                                                608
                                            ],
                                            "type": "text",
                                            "content": "表达式和运算符之间要有空格，",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                273,
                                                594,
                                                311,
                                                607
                                            ],
                                            "type": "inline_equation",
                                            "content": "\\$ 0+\\$ 6",
                                            "score": 0.91
                                        },
                                        {
                                            "bbox": [
                                                312,
                                                594,
                                                335,
                                                608
                                            ],
                                            "type": "text",
                                            "content": "写成",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                336,
                                                594,
                                                368,
                                                607
                                            ],
                                            "type": "inline_equation",
                                            "content": "\\$ 0+\\$ 6",
                                            "score": 0.88
                                        },
                                        {
                                            "bbox": [
                                                368,
                                                594,
                                                392,
                                                608
                                            ],
                                            "type": "text",
                                            "content": "不行",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                104,
                                621,
                                356,
                                634
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 8,
                            "lines": [
                                {
                                    "bbox": [
                                        122,
                                        622,
                                        355,
                                        635
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                122,
                                                622,
                                                355,
                                                635
                                            ],
                                            "type": "text",
                                            "content": "乘号（*）前边必须加反斜杠（)才能实现乘法运算",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                105,
                                649,
                                211,
                                661
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 9,
                            "lines": [
                                {
                                    "bbox": [
                                        124,
                                        650,
                                        211,
                                        662
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                124,
                                                650,
                                                211,
                                                662
                                            ],
                                            "type": "text",
                                            "content": "除法是取整的除法",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "sub_type": "text"
                },
                {
                    "bbox": [
                        86,
                        677,
                        504,
                        705
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                677,
                                504,
                                689
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        677,
                                        504,
                                        689
                                    ],
                                    "type": "text",
                                    "content": "Echo中单引号的原则是不管里面的内容是什么都原样输出，不能识别通配符、变量、命令",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                689,
                                108,
                                709
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        689,
                                        108,
                                        709
                                    ],
                                    "type": "text",
                                    "content": "等。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        719,
                        505,
                        749
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 12,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                720,
                                505,
                                733
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        720,
                                        505,
                                        733
                                    ],
                                    "type": "text",
                                    "content": "双引号就比单引号人性化一点，可以识别变量和特殊转义符，进行一步翻译再输出，同时",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                735,
                                505,
                                748
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        735,
                                        339,
                                        748
                                    ],
                                    "type": "text",
                                    "content": "我这里再强调一下在shell脚本中使用双引号必须结合",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        339,
                                        736,
                                        347,
                                        748
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 5",
                                    "score": 0.73
                                },
                                {
                                    "bbox": [
                                        348,
                                        735,
                                        505,
                                        748
                                    ],
                                    "type": "text",
                                    "content": "、/和`这三个来申明变量、引入特",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 25
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        86,
                        79,
                        336,
                        92
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                79,
                                336,
                                94
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        79,
                                        336,
                                        94
                                    ],
                                    "type": "text",
                                    "content": "色符号和加如命令，这样才可以直接被编译器识别的。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        106,
                        138,
                        120
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                106,
                                139,
                                120
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        106,
                                        139,
                                        120
                                    ],
                                    "type": "text",
                                    "content": "逻辑运算：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        134,
                        505,
                        163
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                95,
                                133,
                                505,
                                148
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        95,
                                        133,
                                        505,
                                        148
                                    ],
                                    "type": "text",
                                    "content": "（但这里要注意逻辑运算的话，&和|与一般的逻辑运算||和&&不同吧！不要将这两个搞",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                86,
                                148,
                                107,
                                165
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        148,
                                        107,
                                        165
                                    ],
                                    "type": "text",
                                    "content": "混）",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        177,
                        510,
                        191
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                175,
                                511,
                                192
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        175,
                                        511,
                                        192
                                    ],
                                    "type": "text",
                                    "content": "在 expr 命令中，| 不是逻辑或，而是一个 模式匹配（Alternation）运算符，其行为如下：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        205,
                        153,
                        218
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                107,
                                205,
                                154,
                                218
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        107,
                                        210,
                                        112,
                                        214
                                    ],
                                    "type": "text",
                                    "content": ".",
                                    "score": 0.804
                                },
                                {
                                    "bbox": [
                                        123,
                                        205,
                                        154,
                                        218
                                    ],
                                    "type": "text",
                                    "content": "规则：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        141,
                        232,
                        324,
                        273
                    ],
                    "type": "list",
                    "angle": 0,
                    "index": 7,
                    "blocks": [
                        {
                            "bbox": [
                                141,
                                232,
                                324,
                                246
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 5,
                            "lines": [
                                {
                                    "bbox": [
                                        141,
                                        231,
                                        326,
                                        248
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                141,
                                                231,
                                                257,
                                                248
                                            ],
                                            "type": "text",
                                            "content": "o 若 ARG1 非空且非零",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                272,
                                                231,
                                                326,
                                                248
                                            ],
                                            "type": "text",
                                            "content": "返回 ARG1",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                141,
                                260,
                                251,
                                273
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 6,
                            "lines": [
                                {
                                    "bbox": [
                                        141,
                                        259,
                                        251,
                                        275
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                141,
                                                259,
                                                183,
                                                275
                                            ],
                                            "type": "text",
                                            "content": "o 否则",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                197,
                                                259,
                                                251,
                                                275
                                            ],
                                            "type": "text",
                                            "content": "返回 ARG2",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "sub_type": "text"
                },
                {
                    "bbox": [
                        104,
                        287,
                        414,
                        301
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                122,
                                285,
                                415,
                                302
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        122,
                                        285,
                                        415,
                                        302
                                    ],
                                    "type": "text",
                                    "content": "返回值：直接返回 ARG1 或 ARG2 的原始值，不是布尔值 1/0。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        315,
                        189,
                        329
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                314,
                                188,
                                330
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        314,
                                        188,
                                        330
                                    ],
                                    "type": "text",
                                    "content": ". expr 中的 & 运算符",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        343,
                        414,
                        356
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                341,
                                417,
                                358
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        341,
                                        417,
                                        358
                                    ],
                                    "type": "text",
                                    "content": "在 expr 中，& 是 “匹配”运算符（Match Operator），其行为如下：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        370,
                        152,
                        383
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                107,
                                370,
                                153,
                                384
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        107,
                                        375,
                                        112,
                                        380
                                    ],
                                    "type": "text",
                                    "content": ".",
                                    "score": 0.89
                                },
                                {
                                    "bbox": [
                                        123,
                                        370,
                                        153,
                                        384
                                    ],
                                    "type": "text",
                                    "content": "规则：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        141,
                        397,
                        380,
                        438
                    ],
                    "type": "list",
                    "angle": 0,
                    "index": 14,
                    "blocks": [
                        {
                            "bbox": [
                                141,
                                397,
                                380,
                                411
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 12,
                            "lines": [
                                {
                                    "bbox": [
                                        141,
                                        396,
                                        381,
                                        412
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                141,
                                                396,
                                                314,
                                                412
                                            ],
                                            "type": "text",
                                            "content": "o 若 ARG1 和 ARG2 都 非空且非零",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                329,
                                                396,
                                                381,
                                                412
                                            ],
                                            "type": "text",
                                            "content": "返回 ARG1",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                141,
                                425,
                                228,
                                438
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 13,
                            "lines": [
                                {
                                    "bbox": [
                                        141,
                                        424,
                                        229,
                                        440
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                141,
                                                424,
                                                183,
                                                440
                                            ],
                                            "type": "text",
                                            "content": "o 否则",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                197,
                                                424,
                                                229,
                                                440
                                            ],
                                            "type": "text",
                                            "content": "返回 0",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "sub_type": "text"
                },
                {
                    "bbox": [
                        104,
                        453,
                        304,
                        466
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 15,
                    "lines": [
                        {
                            "bbox": [
                                122,
                                453,
                                304,
                                467
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        122,
                                        453,
                                        304,
                                        467
                                    ],
                                    "type": "text",
                                    "content": "返回值：ARG1 或 0，不是布尔值 1/0。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        481,
                        277,
                        493
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                481,
                                277,
                                495
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        481,
                                        277,
                                        495
                                    ],
                                    "type": "text",
                                    "content": "另外的大小比较为真时返回 1 否则返回 0",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        508,
                        154,
                        521
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                508,
                                154,
                                523
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        508,
                                        154,
                                        523
                                    ],
                                    "type": "text",
                                    "content": "Zsh 中的问题",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        535,
                        510,
                        596
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 18,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                535,
                                506,
                                550
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        535,
                                        506,
                                        550
                                    ],
                                    "type": "text",
                                    "content": "在 Zsh 中，当您运行 ret=`\\expr length \"hello\"`，反引号将会被解析成一个命令并尝试执",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                550,
                                509,
                                565
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        550,
                                        509,
                                        565
                                    ],
                                    "type": "text",
                                    "content": "行 expr length \"hello\"。然而，Zsh 报告了 command not found: 5 的错误。这表明，",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                567,
                                506,
                                581
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        567,
                                        506,
                                        581
                                    ],
                                    "type": "text",
                                    "content": "Zsh 在尝试解析输出结果时没有正确处理返回值。因为 expr length \"hello\"` 输出的是一个",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                582,
                                353,
                                597
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        582,
                                        353,
                                        597
                                    ],
                                    "type": "text",
                                    "content": "数字（5），Zsh 错误地将这个数字当作一个命令来执行。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        610,
                        160,
                        623
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 19,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                608,
                                162,
                                625
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        608,
                                        162,
                                        625
                                    ],
                                    "type": "text",
                                    "content": "Bash 中的行为",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        637,
                        505,
                        666
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 20,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                639,
                                505,
                                650
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        639,
                                        505,
                                        650
                                    ],
                                    "type": "text",
                                    "content": "Bash 在处理这个命令时表现得更宽容。Bash 会将反引号中的命令输出正确地捕获，并将",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                654,
                                364,
                                666
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        654,
                                        364,
                                        666
                                    ],
                                    "type": "text",
                                    "content": "结果（即5）赋值给ret 变量，而不会尝试将其解释为命令。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        681,
                        215,
                        694
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 21,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                681,
                                215,
                                694
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        682,
                                        143,
                                        694
                                    ],
                                    "type": "text",
                                    "content": "2. 反引号与",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        143,
                                        681,
                                        160,
                                        694
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 0",
                                    "score": 0.63
                                },
                                {
                                    "bbox": [
                                        160,
                                        682,
                                        215,
                                        694
                                    ],
                                    "type": "text",
                                    "content": "语法的替代",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        708,
                        506,
                        753
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 22,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                709,
                                504,
                                720
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        709,
                                        504,
                                        720
                                    ],
                                    "type": "text",
                                    "content": "虽然反引号 ` 在大多数情况下能正常工作，但它并不总是最清晰和最可靠的选择。尤其是",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                724,
                                506,
                                736
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        724,
                                        506,
                                        736
                                    ],
                                    "type": "text",
                                    "content": "当命令返回数值或字符串时，反引号可能会带来意料之外的结果。现代 Shell（包括 Zsh",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                740,
                                505,
                                752
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        740,
                                        505,
                                        752
                                    ],
                                    "type": "text",
                                    "content": "和 Bash）更推荐使用 $() 代替反引号，因为它更容易嵌套和理解，并且更少出现解析错",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 26
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        88,
                        79,
                        115,
                        91
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                78,
                                118,
                                94
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        78,
                                        118,
                                        94
                                    ],
                                    "type": "text",
                                    "content": "误。）",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        106,
                        202,
                        120
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                106,
                                202,
                                121
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        106,
                                        202,
                                        121
                                    ],
                                    "type": "text",
                                    "content": "1. 为什么建议加双引号？",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        134,
                        285,
                        148
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                134,
                                285,
                                148
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        134,
                                        285,
                                        148
                                    ],
                                    "type": "text",
                                    "content": "(1) 防止变量值中的空格或特殊字符被解析",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        161,
                        504,
                        190
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                123,
                                160,
                                506,
                                175
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        123,
                                        160,
                                        506,
                                        175
                                    ],
                                    "type": "text",
                                    "content": "如果 $PATH 中包含空格或特殊字符（如 *、?、$），不加引号时 Shell 会对其进",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                124,
                                178,
                                195,
                                190
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        124,
                                        178,
                                        195,
                                        190
                                    ],
                                    "type": "text",
                                    "content": "行分词或扩展：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        205,
                        180,
                        218
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                205,
                                180,
                                218
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        205,
                                        180,
                                        218
                                    ],
                                    "type": "text",
                                    "content": "(2) 避免通配符扩展",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        232,
                        448,
                        246
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                105,
                                232,
                                450,
                                246
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        105,
                                        232,
                                        450,
                                        246
                                    ],
                                    "type": "text",
                                    "content": " 如果$PATH 包含* 或? 等通配符，不加引号时Shell 会尝试文件匹配：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        259,
                        190,
                        274
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                260,
                                190,
                                274
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        260,
                                        190,
                                        274
                                    ],
                                    "type": "text",
                                    "content": "(3) 确保变量引用完整",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        105,
                        287,
                        340,
                        301
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                123,
                                288,
                                342,
                                301
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        123,
                                        288,
                                        342,
                                        301
                                    ],
                                    "type": "text",
                                    "content": "双引号能明确变量边界，避免与后续字符混淆：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        315,
                        436,
                        327
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                316,
                                436,
                                328
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        316,
                                        436,
                                        328
                                    ],
                                    "type": "text",
                                    "content": "# 不加引号时，若变量名后紧跟字母或下划线，会被误认为变量名的一部分",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        343,
                        233,
                        355
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                343,
                                234,
                                358
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        343,
                                        234,
                                        358
                                    ],
                                    "type": "text",
                                    "content": "2. 什么情况下可以省略双引号？",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        370,
                        498,
                        398
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                124,
                                370,
                                499,
                                383
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        124,
                                        370,
                                        499,
                                        383
                                    ],
                                    "type": "text",
                                    "content": "当变量值绝对不包含空格、通配符或特殊字符时（如纯字母数字和 : 的PATH），",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                125,
                                386,
                                195,
                                399
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        125,
                                        386,
                                        195,
                                        399
                                    ],
                                    "type": "text",
                                    "content": "可以不加引号：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        413,
                        293,
                        426
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                412,
                                294,
                                428
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        412,
                                        209,
                                        428
                                    ],
                                    "type": "text",
                                    "content": "echo PATH=/usr/bin:/bin",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        210,
                                        415,
                                        224,
                                        425
                                    ],
                                    "type": "inline_equation",
                                    "content": "> >",
                                    "score": 0.56
                                },
                                {
                                    "bbox": [
                                        225,
                                        412,
                                        294,
                                        428
                                    ],
                                    "type": "text",
                                    "content": ".zshrc # 安全",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "table",
                    "bbox": [
                        88,
                        454,
                        454,
                        568
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                88,
                                454,
                                454,
                                568
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        88,
                                        454,
                                        454,
                                        568
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                88,
                                                454,
                                                454,
                                                568
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>命令执行结果</td><td>$?取值</td><td>逻辑表达式值</td></tr><tr><td>成功</td><td>0</td><td>1（真）</td></tr><tr><td>失败</td><td>1</td><td>0（假）</td></tr></table>",
                                            "image_path": "ea3b3937c9cdb5ff0fc91f1ce2bb8f29d12e736ddb11b854124dd1797f5f796b.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 12,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 12
                },
                {
                    "bbox": [
                        86,
                        581,
                        498,
                        610
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 13,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                581,
                                500,
                                595
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        581,
                                        500,
                                        595
                                    ],
                                    "type": "text",
                                    "content": "expr命令除了进行算术和逻辑运算之外（不是我想到&&与||，另外也并没有提到取非、",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                597,
                                305,
                                610
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        597,
                                        305,
                                        610
                                    ],
                                    "type": "text",
                                    "content": "异或、按位运算），还可以进行字符串的操作。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        652,
                        133,
                        664
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 14,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                650,
                                135,
                                667
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        650,
                                        135,
                                        667
                                    ],
                                    "type": "text",
                                    "content": "Test 命令",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        679,
                        498,
                        708
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 15,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                680,
                                500,
                                693
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        680,
                                        500,
                                        693
                                    ],
                                    "type": "text",
                                    "content": "Bash对于逻辑表达式的求值需要借助 test命令完成。。test命令中逻辑运算符有两套，",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                696,
                                483,
                                708
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        696,
                                        483,
                                        708
                                    ],
                                    "type": "text",
                                    "content": "分为数值型和字符型，另外还有对于文件进行判断的运算符，和表达式复合的运算符。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        723,
                        132,
                        735
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                723,
                                134,
                                739
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        723,
                                        134,
                                        739
                                    ],
                                    "type": "text",
                                    "content": "主要区别",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 27
        },
        {
            "para_blocks": [
                {
                    "type": "table",
                    "bbox": [
                        83,
                        96,
                        512,
                        441
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                83,
                                96,
                                512,
                                441
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        83,
                                        96,
                                        512,
                                        441
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                83,
                                                96,
                                                512,
                                                441
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>特性</td><td>test 10 -It 20 (或 [ 10 -It 20 ])</td><td>expr 10 \\\\&lt; 20</td></tr><tr><td>用途</td><td>Shell 条件测试</td><td>通用表达式计算</td></tr><tr><td>是 Shell 内置吗?</td><td>☐是(高效)</td><td>☐外部命令(较慢)</td></tr><tr><td>比较类型</td><td>数值比较</td><td>字符串比较(但数字仍可正确比较)</td></tr><tr><td>返回值(输出)</td><td>返 回 0 (true) 或 1 (false)</td><td>输出 1 (true) 或 0 (false),但 $?仍然是 0/1</td></tr><tr><td>符号</td><td>-It (必须用 - 开头的运算符)</td><td>&lt; (必须转义为 \\&lt; )</td></tr><tr><td>适用场景</td><td>if 条件判断</td><td>需要计算表达式并获取结果</td></tr></table>",
                                            "image_path": "0c9d27fab33e67a0d4f144eefaf763bf5e9089acfc45c5be43defa6c2737f37a.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 0,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 0
                },
                {
                    "bbox": [
                        86,
                        454,
                        258,
                        467
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                454,
                                260,
                                469
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        454,
                                        160,
                                        469
                                    ],
                                    "type": "text",
                                    "content": "test -n $f echo",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        161,
                                        455,
                                        174,
                                        467
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 7",
                                    "score": 0.63
                                },
                                {
                                    "bbox": [
                                        174,
                                        454,
                                        260,
                                        469
                                    ],
                                    "type": "text",
                                    "content": "test -z $f echo $?",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        481,
                        175,
                        495
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                481,
                                177,
                                496
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        481,
                                        177,
                                        496
                                    ],
                                    "type": "text",
                                    "content": "结果都为0！奇怪。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        509,
                        504,
                        555
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                511,
                                504,
                                522
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        511,
                                        504,
                                        522
                                    ],
                                    "type": "text",
                                    "content": "bc是一个独立的bc是一个较为完整的工具，为Bash提供了更强的计算能力，提供了完备",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                525,
                                503,
                                538
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        525,
                                        503,
                                        538
                                    ],
                                    "type": "text",
                                    "content": "的类似C的编程语法的计算器，可以在交互式界面、文本或管道的方式方便的进行一些运",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                541,
                                430,
                                554
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        541,
                                        430,
                                        554
                                    ],
                                    "type": "text",
                                    "content": "算。支持多进制转换，任意精度调整，打印控制，函数支持，逻辑控制等。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        567,
                        505,
                        581
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                565,
                                508,
                                585
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        567,
                                        103,
                                        585
                                    ],
                                    "type": "text",
                                    "content": "算",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        167,
                                        566,
                                        184,
                                        585
                                    ],
                                    "type": "text",
                                    "content": "术",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        248,
                                        567,
                                        265,
                                        585
                                    ],
                                    "type": "text",
                                    "content": "运",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        329,
                                        567,
                                        346,
                                        585
                                    ],
                                    "type": "text",
                                    "content": "算",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        409,
                                        565,
                                        427,
                                        585
                                    ],
                                    "type": "text",
                                    "content": "扩",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        567,
                                        508,
                                        584
                                    ],
                                    "type": "text",
                                    "content": "展",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        584,
                        157,
                        597
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                582,
                                158,
                                600
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        582,
                                        158,
                                        600
                                    ],
                                    "type": "text",
                                    "content": "$[expression]",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        599,
                        162,
                        613
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                597,
                                164,
                                616
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        597,
                                        164,
                                        616
                                    ],
                                    "type": "text",
                                    "content": "$((expression))",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        614,
                        498,
                        628
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                615,
                                500,
                                629
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        615,
                                        141,
                                        629
                                    ],
                                    "type": "text",
                                    "content": "用 $[···] ，",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        142,
                                        615,
                                        171,
                                        629
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ (( \\cdots ) )",
                                    "score": 0.6
                                },
                                {
                                    "bbox": [
                                        172,
                                        615,
                                        427,
                                        629
                                    ],
                                    "type": "text",
                                    "content": "进 行整数 运 算时，括 号内变 量前 的美元符号",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        427,
                                        615,
                                        438,
                                        628
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 1",
                                    "score": 0.68
                                },
                                {
                                    "bbox": [
                                        439,
                                        615,
                                        500,
                                        629
                                    ],
                                    "type": "text",
                                    "content": "可 以省 略。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        630,
                        504,
                        645
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                626,
                                506,
                                650
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        629,
                                        128,
                                        646
                                    ],
                                    "type": "text",
                                    "content": "注 意",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        150,
                                        626,
                                        370,
                                        650
                                    ],
                                    "type": "text",
                                    "content": "${···} ， $(···) ， $[···] ， $((···))",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        390,
                                        629,
                                        506,
                                        645
                                    ],
                                    "type": "text",
                                    "content": "的 不 同 作 用",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        680,
                        154,
                        698
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                679,
                                156,
                                702
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        679,
                                        156,
                                        702
                                    ],
                                    "type": "text",
                                    "content": "双小括号",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        735,
                        450,
                        749
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                736,
                                451,
                                751
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        736,
                                        451,
                                        751
                                    ],
                                    "type": "text",
                                    "content": "双小括号中可以使用类似 C 语言的表达式，((exp))的格式更符合一般使用习惯。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 28
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        104,
                        79,
                        507,
                        238
                    ],
                    "type": "list",
                    "angle": 0,
                    "index": 4,
                    "blocks": [
                        {
                            "bbox": [
                                104,
                                79,
                                341,
                                92
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 0,
                            "lines": [
                                {
                                    "bbox": [
                                        123,
                                        79,
                                        341,
                                        92
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                123,
                                                79,
                                                341,
                                                92
                                            ],
                                            "type": "text",
                                            "content": "这种扩展计算是整数型的计算，不支持浮点型。",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                104,
                                106,
                                507,
                                152
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 1,
                            "lines": [
                                {
                                    "bbox": [
                                        121,
                                        106,
                                        506,
                                        120
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                121,
                                                106,
                                                506,
                                                120
                                            ],
                                            "type": "text",
                                            "content": "如果表达式的结果为0，那么返回的退出状态码为1，或者是\"假\"，而一个非零值",
                                            "score": 1.0
                                        }
                                    ]
                                },
                                {
                                    "bbox": [
                                        124,
                                        120,
                                        506,
                                        137
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                124,
                                                120,
                                                506,
                                                137
                                            ],
                                            "type": "text",
                                            "content": "的表达式所返回的退出状态码将为 0，或者是\"true\"。若是逻辑判断，表达式 exp",
                                            "score": 1.0
                                        }
                                    ]
                                },
                                {
                                    "bbox": [
                                        124,
                                        137,
                                        224,
                                        152
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                124,
                                                137,
                                                224,
                                                152
                                            ],
                                            "type": "text",
                                            "content": "为真则为 1,假则为 0。",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                104,
                                164,
                                507,
                                195
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 2,
                            "lines": [
                                {
                                    "bbox": [
                                        116,
                                        165,
                                        505,
                                        179
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                116,
                                                165,
                                                505,
                                                179
                                            ],
                                            "type": "text",
                                            "content": "只要括号中的运算符、表达式符合 C 语言运算规则，都可用在$((exp))中，甚至是",
                                            "score": 1.0
                                        }
                                    ]
                                },
                                {
                                    "bbox": [
                                        124,
                                        179,
                                        179,
                                        195
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                124,
                                                179,
                                                179,
                                                195
                                            ],
                                            "type": "text",
                                            "content": "三目运算符",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                104,
                                208,
                                507,
                                238
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 3,
                            "lines": [
                                {
                                    "bbox": [
                                        116,
                                        208,
                                        505,
                                        221
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                116,
                                                208,
                                                505,
                                                221
                                            ],
                                            "type": "text",
                                            "content": "作不同进位(如二进制、八进制、十六进制)运算时，输出结果全都自动转化成了十",
                                            "score": 1.0
                                        }
                                    ]
                                },
                                {
                                    "bbox": [
                                        123,
                                        222,
                                        154,
                                        238
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                123,
                                                222,
                                                154,
                                                238
                                            ],
                                            "type": "text",
                                            "content": "进制。",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "sub_type": "text"
                },
                {
                    "type": "code",
                    "bbox": [
                        86,
                        251,
                        166,
                        264
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                86,
                                251,
                                166,
                                264
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        86,
                                        251,
                                        166,
                                        264
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                86,
                                                251,
                                                166,
                                                264
                                            ],
                                            "type": "text",
                                            "content": "echo $((16#5f))"
                                        }
                                    ]
                                }
                            ],
                            "index": 5,
                            "angle": 0,
                            "type": "code_body"
                        }
                    ],
                    "index": 5,
                    "sub_type": "code",
                    "guess_lang": "lisp"
                },
                {
                    "bbox": [
                        86,
                        279,
                        201,
                        292
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                279,
                                200,
                                292
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        279,
                                        200,
                                        292
                                    ],
                                    "type": "text",
                                    "content": "95 #16 进制转 10 进制",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        333,
                        399,
                        375
                    ],
                    "type": "list",
                    "angle": 0,
                    "index": 9,
                    "blocks": [
                        {
                            "bbox": [
                                104,
                                333,
                                399,
                                348
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 7,
                            "lines": [
                                {
                                    "bbox": [
                                        105,
                                        333,
                                        400,
                                        349
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                105,
                                                333,
                                                400,
                                                349
                                            ],
                                            "type": "text",
                                            "content": " 用于算术运算比较，双括号中的变量可以不使用$符号前缀。",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                104,
                                361,
                                285,
                                375
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 8,
                            "lines": [
                                {
                                    "bbox": [
                                        123,
                                        362,
                                        284,
                                        375
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                123,
                                                362,
                                                284,
                                                375
                                            ],
                                            "type": "text",
                                            "content": "括号内支持多个表达式用逗号分开",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "sub_type": "text"
                },
                {
                    "bbox": [
                        88,
                        396,
                        139,
                        414
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                395,
                                140,
                                417
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        395,
                                        140,
                                        417
                                    ],
                                    "type": "text",
                                    "content": "中括号",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        451,
                        221,
                        465
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                451,
                                221,
                                465
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        451,
                                        221,
                                        465
                                    ],
                                    "type": "text",
                                    "content": "中括号也可以进行整数运算。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        479,
                        135,
                        493
                    ],
                    "type": "interline_equation",
                    "angle": 0,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                479,
                                135,
                                493
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        479,
                                        135,
                                        493
                                    ],
                                    "type": "interline_equation",
                                    "content": "\\mathsf {b} = \\mathbb {S} [ 1 + 3 ]",
                                    "image_path": "00545b6eda08158b5481e5fd78cfa3936b954556192de5926552b28ecd87a225.jpg"
                                }
                            ]
                        }
                    ],
                    "index": 12
                },
                {
                    "bbox": [
                        87,
                        507,
                        130,
                        518
                    ],
                    "type": "interline_equation",
                    "angle": 0,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                507,
                                130,
                                518
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        507,
                                        130,
                                        518
                                    ],
                                    "type": "interline_equation",
                                    "content": "e c h o \\mathbb {S} ^ {\\mathrm {b}}",
                                    "image_path": "ee77252ac94d680fb1356fb6e4b6fad53d0b4060bf0c114a03e79dfd88f3155b.jpg"
                                }
                            ]
                        }
                    ],
                    "index": 13
                },
                {
                    "bbox": [
                        87,
                        534,
                        96,
                        545
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 14,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                534,
                                98,
                                548
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        534,
                                        98,
                                        548
                                    ],
                                    "type": "text",
                                    "content": "4",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        562,
                        107,
                        573
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 15,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                561,
                                108,
                                576
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        561,
                                        108,
                                        576
                                    ],
                                    "type": "text",
                                    "content": "Let",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        588,
                        508,
                        602
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                587,
                                508,
                                607
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        588,
                                        105,
                                        605
                                    ],
                                    "type": "text",
                                    "content": "let",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        157,
                                        587,
                                        213,
                                        605
                                    ],
                                    "type": "text",
                                    "content": "内 置",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        226,
                                        588,
                                        246,
                                        603
                                    ],
                                    "type": "text",
                                    "content": "命",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        268,
                                        588,
                                        283,
                                        603
                                    ],
                                    "type": "text",
                                    "content": "令",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        302,
                                        587,
                                        508,
                                        607
                                    ],
                                    "type": "text",
                                    "content": "用 于 算 术 运 算",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        604,
                        502,
                        618
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                602,
                                500,
                                619
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        602,
                                        500,
                                        619
                                    ],
                                    "type": "text",
                                    "content": "赋 值 符 号 和 运 算 符 两 边 不 能 留 空 格 ！",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        101,
                        619,
                        506,
                        634
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 18,
                    "lines": [
                        {
                            "bbox": [
                                103,
                                619,
                                507,
                                634
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        103,
                                        619,
                                        507,
                                        634
                                    ],
                                    "type": "text",
                                    "content": "如 果 将 字 符 串 赋 值 给 一 个 整 型 变 量 时 ， 则 变 量 的 值 为 0",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        635,
                        506,
                        649
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 19,
                    "lines": [
                        {
                            "bbox": [
                                105,
                                635,
                                508,
                                650
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        105,
                                        635,
                                        508,
                                        650
                                    ],
                                    "type": "text",
                                    "content": "如 果 变 量 的 值 是 字 符 串 ， 则 进 行 算 术 运 算 时 设 为 0",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        651,
                        505,
                        664
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 20,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                650,
                                506,
                                666
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        650,
                                        105,
                                        666
                                    ],
                                    "type": "text",
                                    "content": "let",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        217,
                                        650,
                                        262,
                                        666
                                    ],
                                    "type": "text",
                                    "content": "num2=4",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        375,
                                        654,
                                        383,
                                        663
                                    ],
                                    "type": "text",
                                    "content": "+",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        497,
                                        652,
                                        506,
                                        665
                                    ],
                                    "type": "text",
                                    "content": "1",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        666,
                        506,
                        681
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 21,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                666,
                                506,
                                682
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        666,
                                        506,
                                        682
                                    ],
                                    "type": "text",
                                    "content": "let \"num2=4 + 1\" # 用 引 号 忽 略 空 格 的 特 殊 含 义",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        682,
                        287,
                        696
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 22,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                683,
                                286,
                                697
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        683,
                                        286,
                                        697
                                    ],
                                    "type": "text",
                                    "content": "用 let 命令进行算术运算时，最好加双引号",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        711,
                        113,
                        723
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 23,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                710,
                                115,
                                728
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        710,
                                        115,
                                        728
                                    ],
                                    "type": "text",
                                    "content": "expr",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        737,
                        506,
                        751
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 24,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                736,
                                506,
                                754
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        736,
                                        103,
                                        753
                                    ],
                                    "type": "text",
                                    "content": "通",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        132,
                                        737,
                                        146,
                                        752
                                    ],
                                    "type": "text",
                                    "content": "用",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        177,
                                        736,
                                        193,
                                        752
                                    ],
                                    "type": "text",
                                    "content": "的",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        222,
                                        737,
                                        238,
                                        752
                                    ],
                                    "type": "text",
                                    "content": "表",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        265,
                                        737,
                                        284,
                                        753
                                    ],
                                    "type": "text",
                                    "content": "达",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        308,
                                        736,
                                        330,
                                        754
                                    ],
                                    "type": "text",
                                    "content": "式",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        354,
                                        737,
                                        373,
                                        753
                                    ],
                                    "type": "text",
                                    "content": "计",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        400,
                                        737,
                                        418,
                                        753
                                    ],
                                    "type": "text",
                                    "content": "算",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        446,
                                        737,
                                        461,
                                        752
                                    ],
                                    "type": "text",
                                    "content": "命",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        492,
                                        737,
                                        506,
                                        751
                                    ],
                                    "type": "text",
                                    "content": "令",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 29
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        86,
                        78,
                        502,
                        108
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                77,
                                500,
                                93
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        77,
                                        500,
                                        93
                                    ],
                                    "type": "text",
                                    "content": "表 达 式 中 参 数 与 操 作 符 必 须 以 空 格 分 开 。",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                94,
                                500,
                                109
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        94,
                                        500,
                                        109
                                    ],
                                    "type": "text",
                                    "content": "表 达 式 中 的 运 算 可 以 是 算 术 运 算 ， 比 较 运 算 ， 字 符 串 运 算 和 逻 辑 运 算 。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        110,
                        505,
                        139
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                109,
                                506,
                                124
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        109,
                                        506,
                                        124
                                    ],
                                    "type": "text",
                                    "content": "expr \\( 2 + 5 \\) \\* 2 – 3 # 括 号 必 须 被 转 义",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                87,
                                124,
                                506,
                                140
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        125,
                                        179,
                                        139
                                    ],
                                    "type": "text",
                                    "content": "expr 5 \\* 3",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        285,
                                        126,
                                        298,
                                        138
                                    ],
                                    "type": "text",
                                    "content": "#",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        315,
                                        124,
                                        506,
                                        140
                                    ],
                                    "type": "text",
                                    "content": "乘 法 符 号 必 须 被 转 义",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        141,
                        506,
                        170
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                139,
                                506,
                                157
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        139,
                                        116,
                                        155
                                    ],
                                    "type": "text",
                                    "content": "bash",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        192,
                                        140,
                                        208,
                                        156
                                    ],
                                    "type": "text",
                                    "content": "只",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        242,
                                        141,
                                        259,
                                        157
                                    ],
                                    "type": "text",
                                    "content": "支",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        292,
                                        140,
                                        309,
                                        156
                                    ],
                                    "type": "text",
                                    "content": "持",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        341,
                                        141,
                                        359,
                                        155
                                    ],
                                    "type": "text",
                                    "content": "整",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        391,
                                        141,
                                        408,
                                        155
                                    ],
                                    "type": "text",
                                    "content": "数",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        440,
                                        141,
                                        458,
                                        155
                                    ],
                                    "type": "text",
                                    "content": "运",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        141,
                                        506,
                                        155
                                    ],
                                    "type": "text",
                                    "content": "算",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                155,
                                506,
                                171
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        155,
                                        267,
                                        171
                                    ],
                                    "type": "text",
                                    "content": "可 以 通 过 使 用 bc 或",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        267,
                                        156,
                                        506,
                                        171
                                    ],
                                    "type": "text",
                                    "content": "awk 工 具 来 处 理 浮 点 数 运 算",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        172,
                        506,
                        201
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                170,
                                508,
                                186
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        173,
                                        107,
                                        184
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\mathsf { m } \\boldsymbol { = }",
                                    "score": 0.5
                                },
                                {
                                    "bbox": [
                                        107,
                                        170,
                                        131,
                                        185
                                    ],
                                    "type": "text",
                                    "content": "`awk",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        256,
                                        172,
                                        373,
                                        186
                                    ],
                                    "type": "text",
                                    "content": "'BEGIN{x=2.45;y=3.123;",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        497,
                                        172,
                                        508,
                                        185
                                    ],
                                    "type": "text",
                                    "content": "\\",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                277,
                                185,
                                508,
                                204
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        277,
                                        186,
                                        312,
                                        202
                                    ],
                                    "type": "text",
                                    "content": "printf",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        370,
                                        185,
                                        418,
                                        203
                                    ],
                                    "type": "text",
                                    "content": "\"%.3f\\n\",",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        473,
                                        185,
                                        508,
                                        204
                                    ],
                                    "type": "text",
                                    "content": "x*y}'`",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        203,
                        506,
                        234
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                200,
                                508,
                                219
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        200,
                                        117,
                                        218
                                    ],
                                    "type": "text",
                                    "content": "echo",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        485,
                                        201,
                                        508,
                                        219
                                    ],
                                    "type": "text",
                                    "content": "$m",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                216,
                                509,
                                235
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        220,
                                        108,
                                        232
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\mathsf { n } { = } \\$ 1",
                                    "score": 0.76
                                },
                                {
                                    "bbox": [
                                        108,
                                        217,
                                        136,
                                        233
                                    ],
                                    "type": "text",
                                    "content": "(echo",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        188,
                                        216,
                                        237,
                                        235
                                    ],
                                    "type": "text",
                                    "content": "\"scale=3;",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        287,
                                        216,
                                        319,
                                        235
                                    ],
                                    "type": "text",
                                    "content": "13/2\"",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        370,
                                        219,
                                        381,
                                        233
                                    ],
                                    "type": "text",
                                    "content": "|",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        431,
                                        217,
                                        449,
                                        234
                                    ],
                                    "type": "text",
                                    "content": "bc",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        495,
                                        218,
                                        509,
                                        235
                                    ],
                                    "type": "text",
                                    "content": ")",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        235,
                        506,
                        247
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                232,
                                508,
                                250
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        232,
                                        116,
                                        250
                                    ],
                                    "type": "text",
                                    "content": "echo",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        489,
                                        233,
                                        508,
                                        250
                                    ],
                                    "type": "text",
                                    "content": "$n",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        278,
                        140,
                        290
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                277,
                                141,
                                291
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        277,
                                        141,
                                        291
                                    ],
                                    "type": "text",
                                    "content": "Printf 命令",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        305,
                        506,
                        319
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                302,
                                508,
                                322
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        305,
                                        120,
                                        320
                                    ],
                                    "type": "text",
                                    "content": "printf",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        152,
                                        302,
                                        193,
                                        322
                                    ],
                                    "type": "text",
                                    "content": "format",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        260,
                                        303,
                                        277,
                                        320
                                    ],
                                    "type": "text",
                                    "content": "输",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        308,
                                        303,
                                        323,
                                        321
                                    ],
                                    "type": "text",
                                    "content": "出",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        353,
                                        303,
                                        370,
                                        320
                                    ],
                                    "type": "text",
                                    "content": "参",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        398,
                                        302,
                                        417,
                                        322
                                    ],
                                    "type": "text",
                                    "content": "数",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        445,
                                        304,
                                        462,
                                        322
                                    ],
                                    "type": "text",
                                    "content": "列",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        303,
                                        508,
                                        321
                                    ],
                                    "type": "text",
                                    "content": "表",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        321,
                        506,
                        336
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                318,
                                506,
                                337
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        320,
                                        120,
                                        337
                                    ],
                                    "type": "text",
                                    "content": "printf",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        213,
                                        318,
                                        273,
                                        336
                                    ],
                                    "type": "text",
                                    "content": "\"%-12.5f\\n\"",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        464,
                                        320,
                                        506,
                                        336
                                    ],
                                    "type": "text",
                                    "content": "123.456",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "table",
                    "bbox": [
                        94,
                        373,
                        299,
                        420
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                92,
                                360,
                                190,
                                370
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        92,
                                        361,
                                        191,
                                        370
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                92,
                                                361,
                                                191,
                                                370
                                            ],
                                            "type": "text",
                                            "content": "printf命令的格式说明符",
                                            "score": 0.999
                                        }
                                    ]
                                }
                            ],
                            "index": 9,
                            "angle": 0,
                            "type": "table_caption"
                        },
                        {
                            "bbox": [
                                94,
                                373,
                                299,
                                420
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        94,
                                        373,
                                        299,
                                        420
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                94,
                                                373,
                                                299,
                                                420
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>c</td><td>字符型</td><td>g/G</td><td>浮点数（自动）</td></tr><tr><td>d</td><td>十进制整数</td><td>o</td><td>八进制</td></tr><tr><td>e/E</td><td>浮点数（科学计数法）</td><td>s</td><td>字符串</td></tr><tr><td>f</td><td>浮点数（小数形式）</td><td>x/X</td><td>十六进制</td></tr></table>",
                                            "image_path": "8f815ade51754c5f5eeb352fa117890ed7495ddd601cb43f2f38c0d8fe576608.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 10,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 10
                },
                {
                    "type": "table",
                    "bbox": [
                        94,
                        433,
                        299,
                        492
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                93,
                                423,
                                174,
                                433
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        93,
                                        423,
                                        174,
                                        433
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                93,
                                                423,
                                                174,
                                                433
                                            ],
                                            "type": "text",
                                            "content": "format中还可以使用",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ],
                            "index": 11,
                            "angle": 0,
                            "type": "table_caption"
                        },
                        {
                            "bbox": [
                                94,
                                433,
                                299,
                                492
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        94,
                                        433,
                                        299,
                                        492
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                94,
                                                433,
                                                299,
                                                492
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>\\a</td><td>警铃</td><td>\\t</td><td>水平制表符</td></tr><tr><td>\\b</td><td>退后一格</td><td>\\v</td><td>垂直制表符</td></tr><tr><td>\\n</td><td>换行</td><td>\\</td><td>反斜杠</td></tr><tr><td>\\f</td><td>换页</td><td>\\&quot;</td><td>双引号</td></tr><tr><td>\\r</td><td>回车</td><td>\\\\&quot;</td><td>百分号</td></tr></table>",
                                            "image_path": "a0c7e5328909c7a738d98cb7987deda54469d5ff706ad93d4f16198218df9017.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 12,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 12
                },
                {
                    "bbox": [
                        87,
                        516,
                        132,
                        529
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 13,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                516,
                                133,
                                531
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        516,
                                        133,
                                        531
                                    ],
                                    "type": "text",
                                    "content": "数组变量",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        543,
                        502,
                        557
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 14,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                542,
                                501,
                                560
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        542,
                                        501,
                                        560
                                    ],
                                    "type": "text",
                                    "content": "使 用 declare 声 明 或 直 接 给 变 量 名 加 下 标 来 赋 值 。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        560,
                        505,
                        572
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 15,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                556,
                                506,
                                575
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        556,
                                        129,
                                        575
                                    ],
                                    "type": "text",
                                    "content": "declare",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        289,
                                        561,
                                        302,
                                        574
                                    ],
                                    "type": "text",
                                    "content": "-a",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        462,
                                        559,
                                        506,
                                        572
                                    ],
                                    "type": "text",
                                    "content": "variable",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        574,
                        506,
                        588
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                574,
                                507,
                                590
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        574,
                                        167,
                                        589
                                    ],
                                    "type": "text",
                                    "content": "variable=(item1",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        231,
                                        574,
                                        265,
                                        590
                                    ],
                                    "type": "text",
                                    "content": "item2",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        327,
                                        574,
                                        360,
                                        590
                                    ],
                                    "type": "text",
                                    "content": "item2",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        499,
                                        576,
                                        507,
                                        589
                                    ],
                                    "type": "text",
                                    "content": ")",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        591,
                        506,
                        603
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                589,
                                507,
                                606
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        589,
                                        167,
                                        605
                                    ],
                                    "type": "text",
                                    "content": "variable=(item1",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        230,
                                        589,
                                        265,
                                        606
                                    ],
                                    "type": "text",
                                    "content": "item2",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        327,
                                        589,
                                        361,
                                        606
                                    ],
                                    "type": "text",
                                    "content": "item2",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        427,
                                        597,
                                        432,
                                        602
                                    ],
                                    "type": "text",
                                    "content": "...",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        498,
                                        592,
                                        507,
                                        605
                                    ],
                                    "type": "text",
                                    "content": ")",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        606,
                        175,
                        619
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 18,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                605,
                                176,
                                621
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        605,
                                        176,
                                        621
                                    ],
                                    "type": "text",
                                    "content": "variable[n]=value",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        622,
                        157,
                        635
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 19,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                619,
                                158,
                                638
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        619,
                                        158,
                                        638
                                    ],
                                    "type": "text",
                                    "content": "${variable[n]}",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        665,
                        296,
                        678
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 20,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                665,
                                296,
                                679
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        665,
                                        296,
                                        679
                                    ],
                                    "type": "text",
                                    "content": "Bash 2.x 以上支持一维数组，下标从0 开始。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        692,
                        127,
                        705
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 21,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                691,
                                129,
                                708
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        691,
                                        129,
                                        708
                                    ],
                                    "type": "text",
                                    "content": "Declare",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        719,
                        506,
                        734
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 22,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                717,
                                507,
                                737
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        717,
                                        129,
                                        736
                                    ],
                                    "type": "text",
                                    "content": "declare",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        177,
                                        719,
                                        190,
                                        737
                                    ],
                                    "type": "text",
                                    "content": "[",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        235,
                                        718,
                                        253,
                                        737
                                    ],
                                    "type": "text",
                                    "content": "选",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        300,
                                        719,
                                        315,
                                        736
                                    ],
                                    "type": "text",
                                    "content": "项",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        364,
                                        721,
                                        373,
                                        736
                                    ],
                                    "type": "text",
                                    "content": "]",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        424,
                                        719,
                                        507,
                                        736
                                    ],
                                    "type": "text",
                                    "content": "variable[=value]",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 30
        },
        {
            "para_blocks": [
                {
                    "type": "table",
                    "bbox": [
                        85,
                        75,
                        595,
                        333
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                85,
                                75,
                                595,
                                333
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        85,
                                        75,
                                        595,
                                        333
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                85,
                                                75,
                                                595,
                                                333
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>选项</td><td>含义</td></tr><tr><td>-r</td><td>将变量设为只读 (readonly)</td></tr><tr><td>-x</td><td>将变量输出到子 shell 中 (export 为全局变量)</td></tr><tr><td>-i</td><td>将变量设为整型 (integer)</td></tr><tr><td>-a</td><td>将变量设置为一个数组 (array)</td></tr><tr><td>-f</td><td>列出函数的名字和定义 (function)</td></tr><tr><td>-F</td><td>只列出函数名</td></tr></table>",
                                            "image_path": "118ef7e3c8e606875d1096586642f77b9e71d54e8ff8474a5afad989372d16e3.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 0,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 0
                },
                {
                    "bbox": [
                        86,
                        344,
                        507,
                        359
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                344,
                                506,
                                360
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        344,
                                        506,
                                        360
                                    ],
                                    "type": "text",
                                    "content": "条 件 测 试 可 以 判 断 某 个 特 定 条 件 是 否 满 足",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        360,
                        505,
                        374
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                360,
                                505,
                                374
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        360,
                                        505,
                                        374
                                    ],
                                    "type": "text",
                                    "content": "测 试 之 后 通 常 会 根 据 不 同 的 测 试 值 选 择 执 行 不 同 任 务",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        376,
                        506,
                        390
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                375,
                                508,
                                393
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        375,
                                        102,
                                        392
                                    ],
                                    "type": "text",
                                    "content": "条",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        154,
                                        375,
                                        170,
                                        392
                                    ],
                                    "type": "text",
                                    "content": "件",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        222,
                                        375,
                                        238,
                                        393
                                    ],
                                    "type": "text",
                                    "content": "测",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        289,
                                        375,
                                        305,
                                        392
                                    ],
                                    "type": "text",
                                    "content": "试",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        357,
                                        375,
                                        372,
                                        392
                                    ],
                                    "type": "text",
                                    "content": "的",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        423,
                                        375,
                                        440,
                                        392
                                    ],
                                    "type": "text",
                                    "content": "种",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        492,
                                        375,
                                        508,
                                        393
                                    ],
                                    "type": "text",
                                    "content": "类",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        392,
                        506,
                        405
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                391,
                                508,
                                409
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        391,
                                        102,
                                        407
                                    ],
                                    "type": "text",
                                    "content": "命",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        155,
                                        391,
                                        170,
                                        407
                                    ],
                                    "type": "text",
                                    "content": "令",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        222,
                                        391,
                                        238,
                                        408
                                    ],
                                    "type": "text",
                                    "content": "成",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        289,
                                        391,
                                        305,
                                        409
                                    ],
                                    "type": "text",
                                    "content": "功",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        357,
                                        391,
                                        373,
                                        409
                                    ],
                                    "type": "text",
                                    "content": "或",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        423,
                                        391,
                                        441,
                                        409
                                    ],
                                    "type": "text",
                                    "content": "失",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        492,
                                        391,
                                        508,
                                        409
                                    ],
                                    "type": "text",
                                    "content": "败",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        407,
                        506,
                        421
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                405,
                                507,
                                424
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        406,
                                        103,
                                        423
                                    ],
                                    "type": "text",
                                    "content": "表",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        154,
                                        405,
                                        171,
                                        424
                                    ],
                                    "type": "text",
                                    "content": "达",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        221,
                                        406,
                                        239,
                                        424
                                    ],
                                    "type": "text",
                                    "content": "式",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        289,
                                        407,
                                        305,
                                        424
                                    ],
                                    "type": "text",
                                    "content": "为",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        356,
                                        406,
                                        373,
                                        424
                                    ],
                                    "type": "text",
                                    "content": "真",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        424,
                                        407,
                                        440,
                                        424
                                    ],
                                    "type": "text",
                                    "content": "或",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        492,
                                        407,
                                        507,
                                        423
                                    ],
                                    "type": "text",
                                    "content": "假",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        423,
                        506,
                        436
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                421,
                                507,
                                439
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        421,
                                        103,
                                        439
                                    ],
                                    "type": "text",
                                    "content": "条",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        168,
                                        422,
                                        184,
                                        439
                                    ],
                                    "type": "text",
                                    "content": "件",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        249,
                                        422,
                                        265,
                                        439
                                    ],
                                    "type": "text",
                                    "content": "测",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        330,
                                        422,
                                        346,
                                        439
                                    ],
                                    "type": "text",
                                    "content": "试",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        411,
                                        422,
                                        426,
                                        439
                                    ],
                                    "type": "text",
                                    "content": "的",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        492,
                                        422,
                                        507,
                                        439
                                    ],
                                    "type": "text",
                                    "content": "值",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        439,
                        506,
                        452
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                437,
                                506,
                                454
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        438,
                                        116,
                                        454
                                    ],
                                    "type": "text",
                                    "content": "Bash",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        145,
                                        439,
                                        161,
                                        453
                                    ],
                                    "type": "text",
                                    "content": "中",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        188,
                                        437,
                                        207,
                                        454
                                    ],
                                    "type": "text",
                                    "content": "没",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        232,
                                        438,
                                        249,
                                        454
                                    ],
                                    "type": "text",
                                    "content": "有",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        275,
                                        438,
                                        292,
                                        454
                                    ],
                                    "type": "text",
                                    "content": "布",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        317,
                                        438,
                                        335,
                                        454
                                    ],
                                    "type": "text",
                                    "content": "尔",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        361,
                                        438,
                                        379,
                                        454
                                    ],
                                    "type": "text",
                                    "content": "类",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        404,
                                        438,
                                        421,
                                        454
                                    ],
                                    "type": "text",
                                    "content": "型",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        448,
                                        438,
                                        465,
                                        454
                                    ],
                                    "type": "text",
                                    "content": "变",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        492,
                                        439,
                                        506,
                                        454
                                    ],
                                    "type": "text",
                                    "content": "量",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        454,
                        506,
                        467
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                454,
                                506,
                                469
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        454,
                                        506,
                                        469
                                    ],
                                    "type": "text",
                                    "content": "退 出 状 态 为 0 表 示 命 令 成 功 或 表 达 式 为 真",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        470,
                        506,
                        482
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                467,
                                507,
                                486
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        467,
                                        129,
                                        486
                                    ],
                                    "type": "text",
                                    "content": "非 0",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        160,
                                        468,
                                        507,
                                        486
                                    ],
                                    "type": "text",
                                    "content": "则 表 示 命 令 失 败 或 表 达 式 为 假",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        485,
                        506,
                        498
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                484,
                                506,
                                500
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        485,
                                        182,
                                        500
                                    ],
                                    "type": "text",
                                    "content": "状 态 变 量",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        211,
                                        486,
                                        224,
                                        498
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 7",
                                    "score": 0.58
                                },
                                {
                                    "bbox": [
                                        255,
                                        484,
                                        506,
                                        500
                                    ],
                                    "type": "text",
                                    "content": "中 保 存 了 退 出 状 态 的 值",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        501,
                        506,
                        514
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                501,
                                507,
                                518
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        501,
                                        102,
                                        517
                                    ],
                                    "type": "text",
                                    "content": "语",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        492,
                                        501,
                                        507,
                                        518
                                    ],
                                    "type": "text",
                                    "content": "句",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        517,
                        506,
                        529
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 12,
                    "lines": [
                        {
                            "bbox": [
                                85,
                                513,
                                509,
                                535
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        85,
                                        513,
                                        200,
                                        535
                                    ],
                                    "type": "text",
                                    "content": "格 式 1 ：",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        248,
                                        516,
                                        275,
                                        531
                                    ],
                                    "type": "text",
                                    "content": "test",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        277,
                                        514,
                                        509,
                                        534
                                    ],
                                    "type": "text",
                                    "content": "< 测 试 表 达 式 >",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        532,
                        506,
                        545
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 13,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                528,
                                511,
                                550
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        530,
                                        197,
                                        550
                                    ],
                                    "type": "text",
                                    "content": "格 式 2 ：",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        239,
                                        528,
                                        511,
                                        550
                                    ],
                                    "type": "text",
                                    "content": "[ < 测 试 表 达 式 > ]",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        547,
                        506,
                        560
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 14,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                545,
                                500,
                                563
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        545,
                                        500,
                                        563
                                    ],
                                    "type": "text",
                                    "content": "格 式 3 ： [[ < 测 试 表 达 式 > ]] （ bash 2.x 版 本 以 上 ）",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        564,
                        506,
                        577
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 15,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                562,
                                507,
                                581
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        562,
                                        102,
                                        581
                                    ],
                                    "type": "text",
                                    "content": "说",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        492,
                                        563,
                                        507,
                                        581
                                    ],
                                    "type": "text",
                                    "content": "明",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        579,
                        506,
                        592
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                579,
                                506,
                                593
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        579,
                                        506,
                                        593
                                    ],
                                    "type": "text",
                                    "content": "格 式 1 和 格 式 2 是 等 价 的 ， 格 式 3 是 扩 展 的 test 命 令",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        595,
                        506,
                        608
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                593,
                                506,
                                612
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        593,
                                        107,
                                        609
                                    ],
                                    "type": "text",
                                    "content": "在",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        109,
                                        593,
                                        164,
                                        612
                                    ],
                                    "type": "text",
                                    "content": "[[ ]]",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        176,
                                        593,
                                        506,
                                        609
                                    ],
                                    "type": "text",
                                    "content": "中 可 以 使 用 通 配 符 进 行 模 式 匹 配",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        610,
                        506,
                        624
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 18,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                610,
                                506,
                                624
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        610,
                                        176,
                                        624
                                    ],
                                    "type": "text",
                                    "content": "&&, ||, <, 和",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        176,
                                        612,
                                        187,
                                        622
                                    ],
                                    "type": "inline_equation",
                                    "content": ">",
                                    "score": 0.74
                                },
                                {
                                    "bbox": [
                                        188,
                                        610,
                                        506,
                                        624
                                    ],
                                    "type": "text",
                                    "content": "能 够 正 常 存 在 于 [[ ]] 中 ， 但 不 能 在 [] 中 出 现",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        626,
                        506,
                        639
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 19,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                625,
                                506,
                                640
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        625,
                                        506,
                                        640
                                    ],
                                    "type": "text",
                                    "content": "[ 和 [[ 之 后 的 字 符 必 须 为 空 格 ， ] 和 ]] 之 前 的 字 符 必 须 为 空 格",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        641,
                        506,
                        654
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 20,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                640,
                                508,
                                657
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        640,
                                        508,
                                        657
                                    ],
                                    "type": "text",
                                    "content": "要 对 整 数 进 行 关 系 运 算 也 可 以 使 用 (()) 进 行 测 试",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        656,
                        506,
                        670
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 21,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                655,
                                507,
                                674
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        655,
                                        507,
                                        674
                                    ],
                                    "type": "text",
                                    "content": "条 件 测 试 表 达 式 中 可 用 的 操 作 符",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        672,
                        506,
                        686
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 22,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                671,
                                507,
                                690
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        671,
                                        104,
                                        690
                                    ],
                                    "type": "text",
                                    "content": "文",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        155,
                                        671,
                                        170,
                                        689
                                    ],
                                    "type": "text",
                                    "content": "件",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        222,
                                        671,
                                        238,
                                        689
                                    ],
                                    "type": "text",
                                    "content": "测",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        289,
                                        671,
                                        305,
                                        689
                                    ],
                                    "type": "text",
                                    "content": "试",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        356,
                                        671,
                                        373,
                                        688
                                    ],
                                    "type": "text",
                                    "content": "操",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        424,
                                        671,
                                        440,
                                        689
                                    ],
                                    "type": "text",
                                    "content": "作",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        671,
                                        507,
                                        689
                                    ],
                                    "type": "text",
                                    "content": "符",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        688,
                        506,
                        701
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 23,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                686,
                                507,
                                705
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        686,
                                        104,
                                        705
                                    ],
                                    "type": "text",
                                    "content": "字",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        145,
                                        687,
                                        161,
                                        704
                                    ],
                                    "type": "text",
                                    "content": "符",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        203,
                                        687,
                                        217,
                                        703
                                    ],
                                    "type": "text",
                                    "content": "串",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        260,
                                        687,
                                        276,
                                        703
                                    ],
                                    "type": "text",
                                    "content": "测",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        318,
                                        687,
                                        334,
                                        703
                                    ],
                                    "type": "text",
                                    "content": "试",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        376,
                                        687,
                                        392,
                                        703
                                    ],
                                    "type": "text",
                                    "content": "操",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        433,
                                        687,
                                        450,
                                        704
                                    ],
                                    "type": "text",
                                    "content": "作",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        687,
                                        507,
                                        704
                                    ],
                                    "type": "text",
                                    "content": "符",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        704,
                        506,
                        717
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 24,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                702,
                                507,
                                719
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        703,
                                        104,
                                        719
                                    ],
                                    "type": "text",
                                    "content": "整",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        137,
                                        703,
                                        154,
                                        719
                                    ],
                                    "type": "text",
                                    "content": "数",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        189,
                                        703,
                                        204,
                                        719
                                    ],
                                    "type": "text",
                                    "content": "二",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        238,
                                        703,
                                        255,
                                        719
                                    ],
                                    "type": "text",
                                    "content": "元",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        289,
                                        703,
                                        305,
                                        719
                                    ],
                                    "type": "text",
                                    "content": "比",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        339,
                                        703,
                                        356,
                                        719
                                    ],
                                    "type": "text",
                                    "content": "较",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        390,
                                        703,
                                        406,
                                        719
                                    ],
                                    "type": "text",
                                    "content": "操",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        441,
                                        703,
                                        458,
                                        719
                                    ],
                                    "type": "text",
                                    "content": "作",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        702,
                                        507,
                                        719
                                    ],
                                    "type": "text",
                                    "content": "符",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        719,
                        506,
                        733
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 25,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                717,
                                507,
                                736
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        717,
                                        104,
                                        736
                                    ],
                                    "type": "text",
                                    "content": "使",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        155,
                                        719,
                                        169,
                                        735
                                    ],
                                    "type": "text",
                                    "content": "用",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        222,
                                        718,
                                        238,
                                        736
                                    ],
                                    "type": "text",
                                    "content": "逻",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        289,
                                        718,
                                        305,
                                        735
                                    ],
                                    "type": "text",
                                    "content": "辑",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        356,
                                        719,
                                        373,
                                        736
                                    ],
                                    "type": "text",
                                    "content": "运",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        424,
                                        718,
                                        440,
                                        735
                                    ],
                                    "type": "text",
                                    "content": "算",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        717,
                                        507,
                                        735
                                    ],
                                    "type": "text",
                                    "content": "符",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        735,
                        132,
                        748
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 26,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                734,
                                134,
                                750
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        734,
                                        134,
                                        750
                                    ],
                                    "type": "text",
                                    "content": "文件测试",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 31
        },
        {
            "para_blocks": [
                {
                    "type": "table",
                    "bbox": [
                        85,
                        74,
                        595,
                        715
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                85,
                                74,
                                595,
                                715
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        85,
                                        74,
                                        595,
                                        715
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                85,
                                                74,
                                                595,
                                                715
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>[-f fname]</td><td>fname存在且是普通文件时，返回真（即返回</td></tr><tr><td>[-L fname]</td><td>fname存在且是链接文件时，返回真</td></tr><tr><td>[-d fname]</td><td>fname存在且是一个目录时，返回真</td></tr><tr><td>[-e fname]</td><td>fname（文件或目录）存在时，返回真</td></tr><tr><td>[-s fname]</td><td>fname存在且大小大于0时，返回真</td></tr><tr><td>[-r fname]</td><td>fname（文件或目录）存在且可读时，返回真</td></tr><tr><td>[-w fname]</td><td>fname（文件或目录）存在且可写时，返回真</td></tr><tr><td>[-x fname]</td><td>fname（文件或目录）存在且可执行时，返回</td></tr></table>",
                                            "image_path": "307700d5c4bd9210b3ac1dfad7969c6506b415cea8a5131210c9b1eee67fc245.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 0,
                            "angle": 0,
                            "type": "table_body"
                        },
                        {
                            "bbox": [
                                88,
                                729,
                                143,
                                741
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        89,
                                        729,
                                        143,
                                        742
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                89,
                                                729,
                                                143,
                                                742
                                            ],
                                            "type": "text",
                                            "content": "字符串测试",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ],
                            "index": 1,
                            "angle": 0,
                            "type": "table_footnote"
                        }
                    ],
                    "index": 0
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 32
        },
        {
            "para_blocks": [
                {
                    "type": "table",
                    "bbox": [
                        85,
                        73,
                        594,
                        311
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                85,
                                73,
                                594,
                                311
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        85,
                                        73,
                                        594,
                                        311
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                85,
                                                73,
                                                594,
                                                311
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>[-z string]</td><td>如果字符串string长度为0，返回真</td></tr><tr><td>[-n string]</td><td>如果字符串string长度不为0，返回真</td></tr><tr><td>[ str1 = str2]</td><td>两字符串相等（也可使用==）返回真</td></tr><tr><td>[ str1 != str2]</td><td>两字符串不等返回真</td></tr><tr><td>[[str1 == str2]]</td><td>两字符串相同返回真</td></tr><tr><td>[[str1 != str2]]</td><td>两字符串不相同返回真</td></tr><tr><td>[[str1~= str2]]</td><td>str2是str1的子串返回真</td></tr><tr><td>[[str1 &gt; str2]]</td><td>str1大于str2返回真</td></tr><tr><td>[[str1 &lt; str2]]</td><td>str1小于str2返回真</td></tr></table>",
                                            "image_path": "71c13866d42625288054f7d1afb6beff6f6da16f137b5fbbed104dcfc3b8513b.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 0,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 0
                },
                {
                    "type": "table",
                    "bbox": [
                        86,
                        354,
                        594,
                        648
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                87,
                                324,
                                506,
                                353
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        88,
                                        323,
                                        506,
                                        339
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                88,
                                                323,
                                                506,
                                                339
                                            ],
                                            "type": "text",
                                            "content": "字 符 串 按 从 左 到 右 对 应 字 符 的 ASCII 码 进 行 比 较",
                                            "score": 1.0
                                        }
                                    ]
                                },
                                {
                                    "bbox": [
                                        88,
                                        339,
                                        134,
                                        354
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                88,
                                                339,
                                                134,
                                                354
                                            ],
                                            "type": "text",
                                            "content": "整数测试",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ],
                            "index": 1,
                            "angle": 0,
                            "type": "table_caption"
                        },
                        {
                            "bbox": [
                                86,
                                354,
                                594,
                                648
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        86,
                                        354,
                                        594,
                                        648
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                86,
                                                354,
                                                594,
                                                648
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>[int1 -eq int2]</td><td colspan=\"2\">int1 等于 int2 返回真</td></tr><tr><td>[int1 -ne int2]</td><td colspan=\"2\">int1 不等于 int2 返回真</td></tr><tr><td>[int1 -gt int2]</td><td colspan=\"2\">int1 大于 int2 返回真</td></tr><tr><td>[int1 -ge int2]</td><td colspan=\"2\">int1 大于或等于 int2 返回真</td></tr><tr><td>[int1 -lt int2]</td><td colspan=\"2\">int1 小于 int2 返回真</td></tr><tr><td>[int1 -le int2]</td><td colspan=\"2\">int1 小于或等于 int2 返回真</td></tr><tr><td colspan=\"2\">[[int1 -eq int2]]</td><td>int1 等于 int2 返回真</td></tr><tr><td colspan=\"2\">[[int1 -ne int2]]</td><td>int1 不等于 int2 返回真</td></tr><tr><td colspan=\"2\">[[int1 -gt int2]]</td><td>int1 大于 int2 返回真</td></tr><tr><td colspan=\"2\">[[int1 -ge int2]]</td><td>int1 大于或等于 int2 返回真</td></tr><tr><td colspan=\"2\">[[int1 -lt int2]]</td><td>int1 小于 int2 返回真</td></tr><tr><td colspan=\"2\">[[int1 -le int2]]</td><td>int1 小于或等于 int2 返回真</td></tr></table>",
                                            "image_path": "efef892f57431a44c56f72fc6926d78534b0af3acb6cd2fefcb2cbc378158e51.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 2,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 2
                },
                {
                    "type": "table",
                    "bbox": [
                        86,
                        692,
                        593,
                        752
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                86,
                                663,
                                500,
                                678
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        87,
                                        661,
                                        500,
                                        682
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                87,
                                                662,
                                                104,
                                                679
                                            ],
                                            "type": "text",
                                            "content": "操",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                125,
                                                662,
                                                148,
                                                679
                                            ],
                                            "type": "text",
                                            "content": "作",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                167,
                                                662,
                                                185,
                                                679
                                            ],
                                            "type": "text",
                                            "content": "符",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                206,
                                                661,
                                                346,
                                                682
                                            ],
                                            "type": "text",
                                            "content": "两 边 必 须",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                371,
                                                663,
                                                385,
                                                678
                                            ],
                                            "type": "text",
                                            "content": "留",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                410,
                                                663,
                                                428,
                                                679
                                            ],
                                            "type": "text",
                                            "content": "空",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                449,
                                                662,
                                                467,
                                                679
                                            ],
                                            "type": "text",
                                            "content": "格",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                493,
                                                666,
                                                500,
                                                677
                                            ],
                                            "type": "text",
                                            "content": "！",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ],
                            "index": 3,
                            "angle": 0,
                            "type": "table_caption"
                        },
                        {
                            "bbox": [
                                86,
                                692,
                                593,
                                752
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        86,
                                        692,
                                        593,
                                        752
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                86,
                                                692,
                                                593,
                                                752
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>((int1 == int2))</td><td>int1 等于 int2 返回真</td></tr><tr><td>((int1 != int2))</td><td>int1 不等于 int2 返回真</td></tr><tr><td>((int1 &gt; int2))</td><td>int1 大于 int2 返回真</td></tr><tr><td>((int1 &gt;= int2))</td><td>int1 大于或等于 int2 返回真</td></tr><tr><td>((int1 &lt; int2))</td><td>int1 小于 int2 返回真</td></tr><tr><td>((int1 &lt;= int2))</td><td>int1 小于或等于 int2 返回真</td></tr></table>",
                                            "image_path": "586d11fbd376e0677ba596d3e01193dec42d6d8d634dd0cdfecbe27d806d3662.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 4,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 4
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 33
        },
        {
            "para_blocks": [
                {
                    "type": "table",
                    "bbox": [
                        86,
                        76,
                        594,
                        190
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                86,
                                76,
                                594,
                                190
                            ],
                            "lines": [],
                            "index": 0,
                            "angle": 0,
                            "type": "table_body",
                            "lines_deleted": true
                        }
                    ],
                    "index": 0
                },
                {
                    "bbox": [
                        86,
                        191,
                        500,
                        205
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                85,
                                188,
                                504,
                                209
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        85,
                                        188,
                                        504,
                                        209
                                    ],
                                    "type": "text",
                                    "content": "操 作 符 两 边 的 空 格 可 省 略 ！",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        222,
                        186,
                        235
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                222,
                                185,
                                236
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        222,
                                        185,
                                        236
                                    ],
                                    "type": "text",
                                    "content": "方括号前后要留空格",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        238,
                        500,
                        251
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                236,
                                501,
                                255
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        239,
                                        99,
                                        254
                                    ],
                                    "type": "text",
                                    "content": "[]",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        127,
                                        237,
                                        146,
                                        255
                                    ],
                                    "type": "text",
                                    "content": "内",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        173,
                                        238,
                                        191,
                                        253
                                    ],
                                    "type": "text",
                                    "content": "不",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        219,
                                        237,
                                        236,
                                        253
                                    ],
                                    "type": "text",
                                    "content": "能",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        264,
                                        237,
                                        281,
                                        253
                                    ],
                                    "type": "text",
                                    "content": "使",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        309,
                                        237,
                                        326,
                                        253
                                    ],
                                    "type": "text",
                                    "content": "用",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        355,
                                        237,
                                        371,
                                        253
                                    ],
                                    "type": "text",
                                    "content": "通",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        401,
                                        238,
                                        417,
                                        253
                                    ],
                                    "type": "text",
                                    "content": "配",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        445,
                                        236,
                                        462,
                                        254
                                    ],
                                    "type": "text",
                                    "content": "符",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        492,
                                        239,
                                        501,
                                        251
                                    ],
                                    "type": "text",
                                    "content": "！",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        253,
                        304,
                        266
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                253,
                                305,
                                268
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        253,
                                        305,
                                        268
                                    ],
                                    "type": "text",
                                    "content": "在 [[]] 中可以使用 shell 的通配符进行条件匹配",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        269,
                        186,
                        282
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                269,
                                185,
                                283
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        269,
                                        185,
                                        283
                                    ],
                                    "type": "text",
                                    "content": "通配符与正则表达式",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        105,
                        285,
                        158,
                        297
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                123,
                                285,
                                159,
                                300
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        123,
                                        285,
                                        159,
                                        300
                                    ],
                                    "type": "text",
                                    "content": "通配符",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        141,
                        301,
                        359,
                        345
                    ],
                    "type": "list",
                    "angle": 0,
                    "index": 10,
                    "blocks": [
                        {
                            "bbox": [
                                141,
                                301,
                                297,
                                313
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 7,
                            "lines": [
                                {
                                    "bbox": [
                                        141,
                                        299,
                                        299,
                                        316
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                141,
                                                299,
                                                299,
                                                316
                                            ],
                                            "type": "text",
                                            "content": "o 由 Shell 解析（如 bash, zsh）",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                141,
                                316,
                                309,
                                328
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 8,
                            "lines": [
                                {
                                    "bbox": [
                                        141,
                                        316,
                                        309,
                                        330
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                141,
                                                316,
                                                309,
                                                330
                                            ],
                                            "type": "text",
                                            "content": "o 直接匹配文件名，无需外部工具",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                141,
                                332,
                                359,
                                345
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 9,
                            "lines": [
                                {
                                    "bbox": [
                                        141,
                                        332,
                                        360,
                                        347
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                141,
                                                332,
                                                360,
                                                347
                                            ],
                                            "type": "text",
                                            "content": "o 例如 rm *.tmp 是 Shell 自身展开文件列表",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "sub_type": "text"
                },
                {
                    "bbox": [
                        105,
                        347,
                        179,
                        359
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                123,
                                348,
                                180,
                                363
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        123,
                                        348,
                                        180,
                                        363
                                    ],
                                    "type": "text",
                                    "content": "正则表达式",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        141,
                        363,
                        359,
                        391
                    ],
                    "type": "list",
                    "angle": 0,
                    "index": 14,
                    "blocks": [
                        {
                            "bbox": [
                                141,
                                363,
                                359,
                                376
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 12,
                            "lines": [
                                {
                                    "bbox": [
                                        141,
                                        362,
                                        360,
                                        379
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                141,
                                                362,
                                                360,
                                                379
                                            ],
                                            "type": "text",
                                            "content": "o 由文本处理工具解析（grep, sed, awk 等）",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                141,
                                379,
                                320,
                                391
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 13,
                            "lines": [
                                {
                                    "bbox": [
                                        141,
                                        379,
                                        320,
                                        391
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                141,
                                                379,
                                                320,
                                                391
                                            ],
                                            "type": "text",
                                            "content": "o 匹配文本内容，支持更复杂的模式",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "sub_type": "text"
                },
                {
                    "type": "table",
                    "bbox": [
                        86,
                        407,
                        594,
                        729
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                87,
                                394,
                                132,
                                407
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        88,
                                        394,
                                        134,
                                        408
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                88,
                                                394,
                                                134,
                                                408
                                            ],
                                            "type": "text",
                                            "content": "逻辑测试",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ],
                            "index": 15,
                            "angle": 0,
                            "type": "table_caption"
                        },
                        {
                            "bbox": [
                                86,
                                407,
                                594,
                                729
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        86,
                                        407,
                                        594,
                                        729
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                86,
                                                407,
                                                594,
                                                729
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>[ expr1 -a expr2 ]</td><td colspan=\"2\">逻辑与，都为真时，结果为真</td></tr><tr><td>[ expr1 -o expr2 ]</td><td colspan=\"2\">逻辑或，有一个为真时，结果为真</td></tr><tr><td>[! expr ]</td><td colspan=\"2\">逻辑非</td></tr><tr><td colspan=\"2\">[ [ pattern1 &amp;&amp; pattern2 ]]</td><td>逻辑与</td></tr><tr><td colspan=\"2\">[ [ pattern1 | | pattern2 ]]</td><td>逻辑或</td></tr><tr><td colspan=\"2\">[! ! pattern ]]</td><td>逻辑非</td></tr><tr><td colspan=\"2\">(( expr1 &amp;&amp; expr2 ))</td><td>逻辑与</td></tr><tr><td colspan=\"2\">(( expr1 | | expr2 ))</td><td>逻辑或</td></tr><tr><td colspan=\"2\">([! expr ))</td><td>逻辑非</td></tr></table>",
                                            "image_path": "abb8ad50cb788bd576d2cede59a8dd24619ff34fb5a0c27450c061ef1ca4e2a3.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 16,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 16
                }
            ],
            "discarded_blocks": [
                {
                    "bbox": [
                        86,
                        745,
                        506,
                        761
                    ],
                    "type": "footer",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                744,
                                507,
                                763
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        744,
                                        223,
                                        763
                                    ],
                                    "type": "text",
                                    "content": "注 ： 不 能 在",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        258,
                                        746,
                                        276,
                                        763
                                    ],
                                    "type": "text",
                                    "content": "(())",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        312,
                                        745,
                                        507,
                                        761
                                    ],
                                    "type": "text",
                                    "content": "中 做 字 符 串 比 较",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "page_size": [
                595,
                841
            ],
            "page_idx": 34
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        86,
                        78,
                        506,
                        92
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                76,
                                506,
                                95
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        76,
                                        104,
                                        95
                                    ],
                                    "type": "text",
                                    "content": "注",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        176,
                                        78,
                                        193,
                                        95
                                    ],
                                    "type": "text",
                                    "content": "不",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        221,
                                        78,
                                        238,
                                        94
                                    ],
                                    "type": "text",
                                    "content": "能",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        266,
                                        78,
                                        283,
                                        94
                                    ],
                                    "type": "text",
                                    "content": "随",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        311,
                                        78,
                                        329,
                                        94
                                    ],
                                    "type": "text",
                                    "content": "便",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        356,
                                        78,
                                        373,
                                        94
                                    ],
                                    "type": "text",
                                    "content": "添",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        401,
                                        78,
                                        418,
                                        94
                                    ],
                                    "type": "text",
                                    "content": "加",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        446,
                                        78,
                                        462,
                                        94
                                    ],
                                    "type": "text",
                                    "content": "括",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        492,
                                        78,
                                        506,
                                        94
                                    ],
                                    "type": "text",
                                    "content": "号",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        110,
                        506,
                        122
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                85,
                                105,
                                509,
                                128
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        85,
                                        105,
                                        509,
                                        128
                                    ],
                                    "type": "text",
                                    "content": "(( $x == 1 )) && [[ $name = To? ]]; echo $?",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        125,
                        500,
                        138
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                125,
                                499,
                                141
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        125,
                                        499,
                                        141
                                    ],
                                    "type": "text",
                                    "content": "此 处 的 && 并 非 逻 辑 运 算 符 ， 而 是 命 令 聚 合 （ Command Group ）",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        174,
                        170,
                        193
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                174,
                                171,
                                195
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        174,
                                        171,
                                        195
                                    ],
                                    "type": "text",
                                    "content": "if 分支结构",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        230,
                        506,
                        259
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                231,
                                506,
                                244
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        231,
                                        506,
                                        244
                                    ],
                                    "type": "text",
                                    "content": "一般是对逻辑表达式进行判断。根据逻辑表达式的真、假，分走不同的分支。这个表达式",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                247,
                                179,
                                260
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        247,
                                        179,
                                        260
                                    ],
                                    "type": "text",
                                    "content": "也称为条件表达式。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        274,
                        151,
                        286
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                274,
                                151,
                                288
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        274,
                                        151,
                                        288
                                    ],
                                    "type": "text",
                                    "content": "1.1 语法格式",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        301,
                        285,
                        316
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                300,
                                285,
                                317
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        300,
                                        285,
                                        317
                                    ],
                                    "type": "text",
                                    "content": "这里才是真正所谓的逻辑判断需要&&和||",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        329,
                        254,
                        342
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                90,
                                329,
                                253,
                                343
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        90,
                                        329,
                                        253,
                                        343
                                    ],
                                    "type": "text",
                                    "content": "下面是if 分支结构的几种语法格式。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        344,
                        140,
                        357
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                344,
                                141,
                                359
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        344,
                                        141,
                                        359
                                    ],
                                    "type": "text",
                                    "content": "格式一：if",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        372,
                        150,
                        386
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                371,
                                151,
                                386
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        371,
                                        151,
                                        386
                                    ],
                                    "type": "text",
                                    "content": "if cond_cmd",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        401,
                        113,
                        412
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                398,
                                116,
                                415
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        398,
                                        116,
                                        415
                                    ],
                                    "type": "text",
                                    "content": "then",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        98,
                        428,
                        156,
                        439
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                99,
                                428,
                                157,
                                440
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        99,
                                        428,
                                        157,
                                        440
                                    ],
                                    "type": "text",
                                    "content": "command1",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        98,
                        455,
                        158,
                        467
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 12,
                    "lines": [
                        {
                            "bbox": [
                                98,
                                455,
                                158,
                                469
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        98,
                                        455,
                                        158,
                                        469
                                    ],
                                    "type": "text",
                                    "content": "command2",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        98,
                        487,
                        110,
                        495
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 13,
                    "lines": []
                },
                {
                    "bbox": [
                        98,
                        510,
                        159,
                        523
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 14,
                    "lines": [
                        {
                            "bbox": [
                                99,
                                511,
                                160,
                                523
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        99,
                                        511,
                                        160,
                                        523
                                    ],
                                    "type": "text",
                                    "content": "commandN",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        538,
                        97,
                        549
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 15,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                538,
                                98,
                                551
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        538,
                                        98,
                                        551
                                    ],
                                    "type": "text",
                                    "content": "fi",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        592,
                        164,
                        606
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                592,
                                165,
                                608
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        592,
                                        165,
                                        608
                                    ],
                                    "type": "text",
                                    "content": "格式二：if-else",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        620,
                        150,
                        634
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                619,
                                151,
                                634
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        619,
                                        151,
                                        634
                                    ],
                                    "type": "text",
                                    "content": "if cond_cmd",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        649,
                        113,
                        660
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 18,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                646,
                                116,
                                663
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        646,
                                        116,
                                        663
                                    ],
                                    "type": "text",
                                    "content": "then",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        98,
                        676,
                        156,
                        687
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 19,
                    "lines": [
                        {
                            "bbox": [
                                99,
                                677,
                                157,
                                688
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        99,
                                        677,
                                        157,
                                        688
                                    ],
                                    "type": "text",
                                    "content": "command1",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        98,
                        703,
                        158,
                        715
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 20,
                    "lines": [
                        {
                            "bbox": [
                                98,
                                703,
                                158,
                                717
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        98,
                                        703,
                                        158,
                                        717
                                    ],
                                    "type": "text",
                                    "content": "command2",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        98,
                        735,
                        110,
                        743
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 21,
                    "lines": []
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 35
        },
        {
            "para_blocks": [
                {
                    "type": "code",
                    "bbox": [
                        88,
                        79,
                        160,
                        174
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                88,
                                79,
                                160,
                                174
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        88,
                                        79,
                                        160,
                                        174
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                88,
                                                79,
                                                160,
                                                174
                                            ],
                                            "type": "text",
                                            "content": "commandN else command fi"
                                        }
                                    ]
                                }
                            ],
                            "index": 0,
                            "angle": 0,
                            "type": "code_body"
                        }
                    ],
                    "index": 0,
                    "sub_type": "code",
                    "guess_lang": "txt"
                },
                {
                    "type": "code",
                    "bbox": [
                        88,
                        243,
                        160,
                        476
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                87,
                                216,
                                184,
                                229
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        88,
                                        216,
                                        185,
                                        232
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                88,
                                                216,
                                                185,
                                                232
                                            ],
                                            "type": "text",
                                            "content": "格式三：if-elif-else",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ],
                            "index": 1,
                            "angle": 0,
                            "type": "code_caption"
                        },
                        {
                            "bbox": [
                                88,
                                243,
                                160,
                                476
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        88,
                                        243,
                                        160,
                                        476
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                88,
                                                243,
                                                160,
                                                476
                                            ],
                                            "type": "text",
                                            "content": "if cond_cmd  \nthen command1  \nelif con_cmd2  \nthen command2  \nelse commandN  \nfi"
                                        }
                                    ]
                                }
                            ],
                            "index": 2,
                            "angle": 0,
                            "type": "code_body"
                        }
                    ],
                    "index": 2,
                    "sub_type": "code",
                    "guess_lang": "txt"
                },
                {
                    "bbox": [
                        86,
                        492,
                        505,
                        537
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                493,
                                505,
                                504
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        493,
                                        505,
                                        504
                                    ],
                                    "type": "text",
                                    "content": "if 其实是判断其后面的命令是否执行成功为分支条件的，因此 if 之后不一定必须是test 命",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                508,
                                505,
                                522
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        508,
                                        505,
                                        522
                                    ],
                                    "type": "text",
                                    "content": "令，可以是任何其他的命令，只是这些命令一般不需要其输出，因为只需要知道执行成功",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                524,
                                364,
                                537
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        524,
                                        364,
                                        537
                                    ],
                                    "type": "text",
                                    "content": "与否，输出并不重要，一般就通过重定向到/dev/null 解决。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "code",
                    "bbox": [
                        86,
                        550,
                        508,
                        706
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                86,
                                550,
                                508,
                                706
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        86,
                                        550,
                                        508,
                                        706
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                86,
                                                550,
                                                508,
                                                706
                                            ],
                                            "type": "text",
                                            "content": "if expr1 # 如果 expr1 为真（返回值为0) then # 那么 commands1 # 执行语句块 commands1 elif expr2 # 若 expr1 不真，而 expr2 为真 then # 那么 commands2 # 执行语句块 commands2 ... ... # 可以有多个 elif 语句 else # else 最多只能有一个 commands4 fi # if 语句必须以单词 fi 终止"
                                        }
                                    ]
                                }
                            ],
                            "index": 4,
                            "angle": 0,
                            "type": "code_body"
                        }
                    ],
                    "index": 4,
                    "sub_type": "code",
                    "guess_lang": "txt"
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 36
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        99,
                        77,
                        411,
                        242
                    ],
                    "type": "list",
                    "angle": 0,
                    "index": 6,
                    "blocks": [
                        {
                            "bbox": [
                                99,
                                77,
                                312,
                                90
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 0,
                            "lines": [
                                {
                                    "bbox": [
                                        101,
                                        76,
                                        312,
                                        91
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                101,
                                                76,
                                                114,
                                                91
                                            ],
                                            "type": "inline_equation",
                                            "content": "\\spadesuit",
                                            "score": 0.71
                                        },
                                        {
                                            "bbox": [
                                                105,
                                                81,
                                                111,
                                                86
                                            ],
                                            "type": "text",
                                            "content": "",
                                            "score": 0.0
                                        },
                                        {
                                            "bbox": [
                                                114,
                                                76,
                                                312,
                                                91
                                            ],
                                            "type": "text",
                                            "content": "elif可以有任意多个（o个或多个)",
                                            "score": 0.942
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                100,
                                96,
                                314,
                                111
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 1,
                            "lines": [
                                {
                                    "bbox": [
                                        101,
                                        95,
                                        314,
                                        111
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                101,
                                                96,
                                                114,
                                                111
                                            ],
                                            "type": "inline_equation",
                                            "content": "\\bullet",
                                            "score": 0.79
                                        },
                                        {
                                            "bbox": [
                                                101,
                                                100,
                                                115,
                                                108
                                            ],
                                            "type": "text",
                                            "content": "",
                                            "score": 0.0
                                        },
                                        {
                                            "bbox": [
                                                114,
                                                95,
                                                314,
                                                111
                                            ],
                                            "type": "text",
                                            "content": "else最多只能有一个 (o个或1个)",
                                            "score": 0.958
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                100,
                                116,
                                268,
                                131
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 2,
                            "lines": [
                                {
                                    "bbox": [
                                        101,
                                        116,
                                        266,
                                        131
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                101,
                                                116,
                                                114,
                                                131
                                            ],
                                            "type": "inline_equation",
                                            "content": "\\bullet",
                                            "score": 0.83
                                        },
                                        {
                                            "bbox": [
                                                115,
                                                116,
                                                266,
                                                131
                                            ],
                                            "type": "text",
                                            "content": "if 语句必须以fi表示结束",
                                            "score": 0.96
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                99,
                                139,
                                411,
                                169
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 3,
                            "lines": [
                                {
                                    "bbox": [
                                        115,
                                        138,
                                        413,
                                        156
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                115,
                                                138,
                                                413,
                                                156
                                            ],
                                            "type": "text",
                                            "content": "exprx通常为条件测试表达式；也可以是多个命令，以",
                                            "score": 0.989
                                        }
                                    ]
                                },
                                {
                                    "bbox": [
                                        100,
                                        154,
                                        290,
                                        170
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                100,
                                                154,
                                                290,
                                                170
                                            ],
                                            "type": "text",
                                            "content": "最后一个命令的退出状态为条件值。",
                                            "score": 0.999
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                99,
                                176,
                                411,
                                221
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 4,
                            "lines": [
                                {
                                    "bbox": [
                                        101,
                                        176,
                                        412,
                                        190
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                101,
                                                177,
                                                114,
                                                190
                                            ],
                                            "type": "inline_equation",
                                            "content": "\\cdot",
                                            "score": 0.68
                                        },
                                        {
                                            "bbox": [
                                                116,
                                                176,
                                                412,
                                                190
                                            ],
                                            "type": "text",
                                            "content": "commands为可执行语句块，如果为空，需使用shell",
                                            "score": 0.987
                                        }
                                    ]
                                },
                                {
                                    "bbox": [
                                        99,
                                        188,
                                        412,
                                        207
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                99,
                                                188,
                                                412,
                                                207
                                            ],
                                            "type": "text",
                                            "content": "提供的空命令“：”，即冒号。该命令不做任何事情，只",
                                            "score": 0.996
                                        }
                                    ]
                                },
                                {
                                    "bbox": [
                                        101,
                                        206,
                                        211,
                                        222
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                101,
                                                206,
                                                211,
                                                222
                                            ],
                                            "type": "text",
                                            "content": "返回一个退出状态0",
                                            "score": 0.989
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                100,
                                227,
                                233,
                                242
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 5,
                            "lines": [
                                {
                                    "bbox": [
                                        101,
                                        227,
                                        232,
                                        242
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                101,
                                                227,
                                                114,
                                                242
                                            ],
                                            "type": "inline_equation",
                                            "content": "\\bullet",
                                            "score": 0.72
                                        },
                                        {
                                            "bbox": [
                                                115,
                                                227,
                                                232,
                                                242
                                            ],
                                            "type": "text",
                                            "content": "if语句可以嵌套使用",
                                            "score": 0.998
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "sub_type": "text"
                },
                {
                    "bbox": [
                        86,
                        333,
                        444,
                        346
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                333,
                                445,
                                347
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        333,
                                        445,
                                        347
                                    ],
                                    "type": "text",
                                    "content": "case 结构适合取值确定的多种情况的判断，但是也支持带通配符的模糊判断。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        367,
                        193,
                        386
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                85,
                                365,
                                196,
                                387
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        85,
                                        365,
                                        196,
                                        387
                                    ],
                                    "type": "text",
                                    "content": "case语法格式",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        423,
                        498,
                        451
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                422,
                                499,
                                436
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        422,
                                        499,
                                        436
                                    ],
                                    "type": "text",
                                    "content": "Shell case 语句为多选择语句。可以用 case 语句匹配一个值与一个模式，如果匹配成功，",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                438,
                                277,
                                452
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        438,
                                        277,
                                        452
                                    ],
                                    "type": "text",
                                    "content": "执行相匹配的命令。case 语句格式如下：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        466,
                        137,
                        478
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                464,
                                139,
                                481
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        464,
                                        139,
                                        481
                                    ],
                                    "type": "text",
                                    "content": "case 值 in",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        493,
                        123,
                        506
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                491,
                                126,
                                510
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        491,
                                        126,
                                        510
                                    ],
                                    "type": "text",
                                    "content": "模式 1)",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        98,
                        521,
                        156,
                        533
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 12,
                    "lines": [
                        {
                            "bbox": [
                                99,
                                523,
                                157,
                                534
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        99,
                                        523,
                                        157,
                                        534
                                    ],
                                    "type": "text",
                                    "content": "command1",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        98,
                        549,
                        157,
                        560
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 13,
                    "lines": [
                        {
                            "bbox": [
                                98,
                                549,
                                158,
                                562
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        98,
                                        549,
                                        158,
                                        562
                                    ],
                                    "type": "text",
                                    "content": "command2",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        98,
                        581,
                        110,
                        588
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 14,
                    "lines": []
                },
                {
                    "bbox": [
                        98,
                        603,
                        158,
                        615
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 15,
                    "lines": [
                        {
                            "bbox": [
                                99,
                                604,
                                160,
                                617
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        99,
                                        604,
                                        160,
                                        617
                                    ],
                                    "type": "text",
                                    "content": "commandN",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        98,
                        634,
                        107,
                        643
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                101,
                                634,
                                105,
                                638
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        101,
                                        634,
                                        105,
                                        638
                                    ],
                                    "type": "text",
                                    "content": "",
                                    "score": 0.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                100,
                                639,
                                107,
                                645
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        100,
                                        639,
                                        107,
                                        645
                                    ],
                                    "type": "text",
                                    "content": "",
                                    "score": 0.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        659,
                        123,
                        671
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                658,
                                124,
                                674
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        658,
                                        124,
                                        674
                                    ],
                                    "type": "text",
                                    "content": "模式 2）",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        98,
                        687,
                        156,
                        698
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 18,
                    "lines": [
                        {
                            "bbox": [
                                99,
                                687,
                                157,
                                699
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        99,
                                        687,
                                        157,
                                        699
                                    ],
                                    "type": "text",
                                    "content": "command1",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        98,
                        714,
                        157,
                        726
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 19,
                    "lines": [
                        {
                            "bbox": [
                                98,
                                714,
                                158,
                                727
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        98,
                                        714,
                                        158,
                                        727
                                    ],
                                    "type": "text",
                                    "content": "command2",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        98,
                        746,
                        110,
                        754
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 20,
                    "lines": []
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 37
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        99,
                        79,
                        158,
                        89
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                99,
                                79,
                                160,
                                91
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        99,
                                        79,
                                        160,
                                        91
                                    ],
                                    "type": "text",
                                    "content": "commandN",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        135,
                        113,
                        144
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                136,
                                114,
                                148
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        136,
                                        114,
                                        148
                                    ],
                                    "type": "text",
                                    "content": "esac",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        104,
                        189,
                        504,
                        411
                    ],
                    "type": "list",
                    "angle": 0,
                    "index": 10,
                    "blocks": [
                        {
                            "bbox": [
                                104,
                                189,
                                345,
                                201
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 2,
                            "lines": [
                                {
                                    "bbox": [
                                        108,
                                        189,
                                        347,
                                        204
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                108,
                                                189,
                                                347,
                                                204
                                            ],
                                            "type": "text",
                                            "content": " case 之后是取值，所以变量名之前不要忘记了$",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                105,
                                216,
                                232,
                                229
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 3,
                            "lines": [
                                {
                                    "bbox": [
                                        123,
                                        217,
                                        232,
                                        230
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                123,
                                                217,
                                                232,
                                                230
                                            ],
                                            "type": "text",
                                            "content": "取值后面必须为单词in",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                105,
                                244,
                                271,
                                257
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 4,
                            "lines": [
                                {
                                    "bbox": [
                                        107,
                                        244,
                                        271,
                                        258
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                107,
                                                244,
                                                271,
                                                258
                                            ],
                                            "type": "text",
                                            "content": " 每一模式必须以右小括号) 结束",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                105,
                                272,
                                231,
                                284
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 5,
                            "lines": [
                                {
                                    "bbox": [
                                        124,
                                        272,
                                        232,
                                        285
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                124,
                                                272,
                                                232,
                                                285
                                            ],
                                            "type": "text",
                                            "content": "取值可以为变量或常数",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                104,
                                299,
                                504,
                                327
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 6,
                            "lines": [
                                {
                                    "bbox": [
                                        124,
                                        299,
                                        506,
                                        313
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                124,
                                                299,
                                                506,
                                                313
                                            ],
                                            "type": "text",
                                            "content": "匹配发现取值符合某一模式后，其间所有命令开始执行直至双分 ;; 号结束，表示",
                                            "score": 1.0
                                        }
                                    ]
                                },
                                {
                                    "bbox": [
                                        123,
                                        313,
                                        157,
                                        329
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                123,
                                                313,
                                                157,
                                                329
                                            ],
                                            "type": "text",
                                            "content": "break",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                105,
                                342,
                                336,
                                355
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 7,
                            "lines": [
                                {
                                    "bbox": [
                                        123,
                                        343,
                                        336,
                                        356
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                123,
                                                343,
                                                336,
                                                356
                                            ],
                                            "type": "text",
                                            "content": "执行完匹配模式相应命令后不再继续其他模式",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                104,
                                370,
                                409,
                                383
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 8,
                            "lines": [
                                {
                                    "bbox": [
                                        104,
                                        370,
                                        410,
                                        384
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                104,
                                                370,
                                                410,
                                                384
                                            ],
                                            "type": "text",
                                            "content": " 如果无一匹配模式，使用星号* 捕获该值，再执行后面的命令",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                105,
                                397,
                                356,
                                411
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 9,
                            "lines": [
                                {
                                    "bbox": [
                                        123,
                                        396,
                                        357,
                                        412
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                123,
                                                396,
                                                357,
                                                412
                                            ],
                                            "type": "text",
                                            "content": "需要一个 esac（就是 case 反过来）作为结束标记",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "sub_type": "text"
                },
                {
                    "bbox": [
                        121,
                        444,
                        411,
                        572
                    ],
                    "type": "list",
                    "angle": 0,
                    "index": 15,
                    "blocks": [
                        {
                            "bbox": [
                                122,
                                444,
                                405,
                                470
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 11,
                            "lines": [
                                {
                                    "bbox": [
                                        124,
                                        444,
                                        406,
                                        458
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                124,
                                                445,
                                                136,
                                                457
                                            ],
                                            "type": "inline_equation",
                                            "content": "\\cdot",
                                            "score": 0.76
                                        },
                                        {
                                            "bbox": [
                                                136,
                                                444,
                                                406,
                                                458
                                            ],
                                            "type": "text",
                                            "content": "表达式expr按顺序匹配每个模式，一旦有一个模式匹配",
                                            "score": 0.998
                                        }
                                    ]
                                },
                                {
                                    "bbox": [
                                        123,
                                        456,
                                        384,
                                        473
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                123,
                                                456,
                                                384,
                                                473
                                            ],
                                            "type": "text",
                                            "content": "成功，则执行该模式后面的所有命令，然后退出case。",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                121,
                                480,
                                411,
                                506
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 12,
                            "lines": [
                                {
                                    "bbox": [
                                        124,
                                        478,
                                        414,
                                        494
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                124,
                                                480,
                                                136,
                                                492
                                            ],
                                            "type": "inline_equation",
                                            "content": "\\bullet",
                                            "score": 0.69
                                        },
                                        {
                                            "bbox": [
                                                136,
                                                478,
                                                414,
                                                494
                                            ],
                                            "type": "text",
                                            "content": "如果expr 没有找到匹配的模式，则执行缺省值“*）”后",
                                            "score": 0.986
                                        }
                                    ]
                                },
                                {
                                    "bbox": [
                                        124,
                                        491,
                                        405,
                                        509
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                124,
                                                491,
                                                304,
                                                508
                                            ],
                                            "type": "text",
                                            "content": "面的命令块(类似于if 中的else);",
                                            "score": 0.941
                                        },
                                        {
                                            "bbox": [
                                                309,
                                                491,
                                                405,
                                                509
                                            ],
                                            "type": "text",
                                            "content": "\"*)”可以不出现。",
                                            "score": 0.863
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                122,
                                520,
                                398,
                                533
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 13,
                            "lines": [
                                {
                                    "bbox": [
                                        124,
                                        520,
                                        398,
                                        534
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                124,
                                                521,
                                                136,
                                                533
                                            ],
                                            "type": "inline_equation",
                                            "content": "\\bullet",
                                            "score": 0.71
                                        },
                                        {
                                            "bbox": [
                                                136,
                                                520,
                                                391,
                                                534
                                            ],
                                            "type": "text",
                                            "content": "所给的匹配模式pattern中可以含有通配符和“」”",
                                            "score": 0.99
                                        },
                                        {
                                            "bbox": [
                                                394,
                                                528,
                                                398,
                                                532
                                            ],
                                            "type": "text",
                                            "content": "",
                                            "score": 0.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                121,
                                546,
                                405,
                                572
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 14,
                            "lines": [
                                {
                                    "bbox": [
                                        124,
                                        545,
                                        406,
                                        560
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                124,
                                                548,
                                                136,
                                                559
                                            ],
                                            "type": "inline_equation",
                                            "content": "\\bullet",
                                            "score": 0.67
                                        },
                                        {
                                            "bbox": [
                                                136,
                                                545,
                                                406,
                                                560
                                            ],
                                            "type": "text",
                                            "content": "每个命令块的最后必须有一个双分号，可以独占一行，或",
                                            "score": 1.0
                                        }
                                    ]
                                },
                                {
                                    "bbox": [
                                        124,
                                        559,
                                        248,
                                        573
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                124,
                                                559,
                                                248,
                                                573
                                            ],
                                            "type": "text",
                                            "content": "放在最后一个命令的后面。",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "sub_type": "text"
                },
                {
                    "bbox": [
                        86,
                        615,
                        236,
                        634
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                614,
                                239,
                                635
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        614,
                                        239,
                                        635
                                    ],
                                    "type": "text",
                                    "content": "for 循环一般格式为：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        671,
                        241,
                        682
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                671,
                                241,
                                684
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        671,
                                        241,
                                        684
                                    ],
                                    "type": "text",
                                    "content": "for var in item1 item2 ... itemN",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        699,
                        102,
                        709
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 18,
                    "lines": []
                },
                {
                    "bbox": [
                        98,
                        727,
                        155,
                        737
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 19,
                    "lines": [
                        {
                            "bbox": [
                                98,
                                727,
                                157,
                                739
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        98,
                                        727,
                                        157,
                                        739
                                    ],
                                    "type": "text",
                                    "content": "command1",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 38
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        98,
                        79,
                        157,
                        89
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                99,
                                79,
                                158,
                                91
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        99,
                                        79,
                                        158,
                                        91
                                    ],
                                    "type": "text",
                                    "content": "command2",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        98,
                        111,
                        110,
                        119
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": []
                },
                {
                    "bbox": [
                        98,
                        134,
                        158,
                        145
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                99,
                                135,
                                160,
                                147
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        99,
                                        135,
                                        160,
                                        147
                                    ],
                                    "type": "text",
                                    "content": "commandN",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        162,
                        116,
                        173
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                160,
                                117,
                                176
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        160,
                                        117,
                                        176
                                    ],
                                    "type": "text",
                                    "content": "done",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        216,
                        499,
                        246
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                90,
                                217,
                                499,
                                230
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        90,
                                        217,
                                        499,
                                        230
                                    ],
                                    "type": "text",
                                    "content": "上述for 循环中，in 之后是取值列表，逐个赋值给var变量，每次赋值就进行一次循环。",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                232,
                                340,
                                245
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        232,
                                        340,
                                        245
                                    ],
                                    "type": "text",
                                    "content": "这种循环类似于一些高级语言中的for each 循环结构。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        259,
                        506,
                        273
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                260,
                                506,
                                273
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        260,
                                        506,
                                        273
                                    ],
                                    "type": "text",
                                    "content": "列表 list 可以是命令替换、变量名替换、字符串和文件名列表 ( 可包含通配符 )，每个列表",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        275,
                        506,
                        288
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                273,
                                508,
                                292
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        274,
                                        103,
                                        291
                                    ],
                                    "type": "text",
                                    "content": "项",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        168,
                                        274,
                                        184,
                                        292
                                    ],
                                    "type": "text",
                                    "content": "以",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        248,
                                        274,
                                        265,
                                        291
                                    ],
                                    "type": "text",
                                    "content": "空",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        329,
                                        273,
                                        346,
                                        290
                                    ],
                                    "type": "text",
                                    "content": "格",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        410,
                                        274,
                                        427,
                                        291
                                    ],
                                    "type": "text",
                                    "content": "间",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        274,
                                        508,
                                        290
                                    ],
                                    "type": "text",
                                    "content": "隔",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        98,
                        290,
                        506,
                        304
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                97,
                                289,
                                507,
                                306
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        97,
                                        289,
                                        507,
                                        306
                                    ],
                                    "type": "text",
                                    "content": "for 循 环 执 行 的 次 数 取 决 于 列 表 list 中 单 词 的 个 数",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        112,
                        306,
                        506,
                        320
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                112,
                                305,
                                508,
                                322
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        112,
                                        305,
                                        189,
                                        322
                                    ],
                                    "type": "text",
                                    "content": "可 以 省 略",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        220,
                                        305,
                                        265,
                                        322
                                    ],
                                    "type": "text",
                                    "content": "in list",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        266,
                                        305,
                                        423,
                                        322
                                    ],
                                    "type": "text",
                                    "content": "， 省 略 时 相 当 于",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        455,
                                        305,
                                        508,
                                        322
                                    ],
                                    "type": "text",
                                    "content": "in \"$@\"",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        349,
                        324,
                        364
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                350,
                                324,
                                364
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        350,
                                        324,
                                        364
                                    ],
                                    "type": "text",
                                    "content": "另外，在 for 循环结构中，可以使用双小括号形式。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        377,
                        182,
                        390
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                375,
                                183,
                                392
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        375,
                                        105,
                                        392
                                    ],
                                    "type": "text",
                                    "content": "for",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        106,
                                        377,
                                        180,
                                        391
                                    ],
                                    "type": "inline_equation",
                                    "content": "( ( \\mathrm { i } { = } 0 ; \\mathrm { i } { < } 1 0 0 ; \\mathrm { i } { + } + ) )",
                                    "score": 0.8
                                },
                                {
                                    "bbox": [
                                        180,
                                        375,
                                        183,
                                        392
                                    ],
                                    "type": "text",
                                    "content": "",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        406,
                        103,
                        416
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                405,
                                105,
                                419
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        405,
                                        105,
                                        419
                                    ],
                                    "type": "text",
                                    "content": "do",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        98,
                        438,
                        110,
                        444
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 12,
                    "lines": []
                },
                {
                    "bbox": [
                        87,
                        460,
                        116,
                        471
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 13,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                458,
                                117,
                                476
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        458,
                                        117,
                                        476
                                    ],
                                    "type": "text",
                                    "content": "done",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        487,
                        134,
                        501
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 14,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                485,
                                136,
                                503
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        485,
                                        136,
                                        503
                                    ],
                                    "type": "text",
                                    "content": "break [n]",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        515,
                        500,
                        528
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 15,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                513,
                                499,
                                533
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        513,
                                        103,
                                        530
                                    ],
                                    "type": "text",
                                    "content": "用",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        126,
                                        514,
                                        151,
                                        531
                                    ],
                                    "type": "text",
                                    "content": "于",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        167,
                                        513,
                                        267,
                                        533
                                    ],
                                    "type": "text",
                                    "content": "强 行 退",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        288,
                                        513,
                                        305,
                                        530
                                    ],
                                    "type": "text",
                                    "content": "出",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        329,
                                        514,
                                        346,
                                        530
                                    ],
                                    "type": "text",
                                    "content": "当",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        370,
                                        513,
                                        386,
                                        530
                                    ],
                                    "type": "text",
                                    "content": "前",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        409,
                                        514,
                                        428,
                                        530
                                    ],
                                    "type": "text",
                                    "content": "循",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        449,
                                        513,
                                        466,
                                        530
                                    ],
                                    "type": "text",
                                    "content": "环",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        493,
                                        522,
                                        499,
                                        528
                                    ],
                                    "type": "text",
                                    "content": "。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        530,
                        504,
                        544
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                91,
                                531,
                                504,
                                544
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        91,
                                        531,
                                        504,
                                        544
                                    ],
                                    "type": "text",
                                    "content": "如果是嵌套循环，则 break 命令后面可以跟一数字 n，表示退出第 n 重循环（最里面的为",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        546,
                        500,
                        560
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                544,
                                499,
                                563
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        544,
                                        103,
                                        562
                                    ],
                                    "type": "text",
                                    "content": "第",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        223,
                                        546,
                                        237,
                                        560
                                    ],
                                    "type": "text",
                                    "content": "重",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        290,
                                        545,
                                        304,
                                        560
                                    ],
                                    "type": "text",
                                    "content": "循",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        357,
                                        545,
                                        372,
                                        563
                                    ],
                                    "type": "text",
                                    "content": "环",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        423,
                                        545,
                                        434,
                                        561
                                    ],
                                    "type": "text",
                                    "content": "）",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        493,
                                        553,
                                        499,
                                        560
                                    ],
                                    "type": "text",
                                    "content": "。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        563,
                        504,
                        575
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 18,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                562,
                                135,
                                576
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        562,
                                        135,
                                        576
                                    ],
                                    "type": "text",
                                    "content": "continue",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        577,
                        499,
                        591
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 19,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                577,
                                500,
                                591
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        577,
                                        500,
                                        591
                                    ],
                                    "type": "text",
                                    "content": "用 于 忽 略 本 次 循 环 的 剩 余 部 分 ， 回 到 循 环 的 顶 部 ， 继 续 下 一 次 循 环 。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        593,
                        475,
                        607
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 20,
                    "lines": [
                        {
                            "bbox": [
                                91,
                                593,
                                475,
                                608
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        91,
                                        593,
                                        475,
                                        608
                                    ],
                                    "type": "text",
                                    "content": "如果是嵌套循环，continue 命令后面也可跟一数字 n，表示回到第 n 重循环的顶部",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        620,
                        345,
                        634
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 21,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                619,
                                346,
                                637
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        619,
                                        346,
                                        637
                                    ],
                                    "type": "text",
                                    "content": "注意跟 case 的区别，for 之后是变量名，所以不要加$。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        648,
                        504,
                        677
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 22,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                649,
                                504,
                                661
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        649,
                                        504,
                                        661
                                    ],
                                    "type": "text",
                                    "content": "while 循环用于不断执行一系列命令，也用于从输入文件中读取数据；命令通常为测试条",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                87,
                                662,
                                108,
                                679
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        662,
                                        108,
                                        679
                                    ],
                                    "type": "text",
                                    "content": "件。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 39
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        86,
                        84,
                        303,
                        103
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                84,
                                307,
                                105
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        84,
                                        307,
                                        105
                                    ],
                                    "type": "text",
                                    "content": "while 循环结构的语法格式为：",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        140,
                        170,
                        153
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                138,
                                171,
                                154
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        138,
                                        171,
                                        154
                                    ],
                                    "type": "text",
                                    "content": "while cond_cmd",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        169,
                        103,
                        179
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                166,
                                105,
                                183
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        166,
                                        105,
                                        183
                                    ],
                                    "type": "text",
                                    "content": "do",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        98,
                        195,
                        151,
                        206
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                99,
                                195,
                                152,
                                208
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        99,
                                        195,
                                        152,
                                        208
                                    ],
                                    "type": "text",
                                    "content": "command",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        223,
                        115,
                        233
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                221,
                                117,
                                238
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        221,
                                        117,
                                        238
                                    ],
                                    "type": "text",
                                    "content": "done",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        278,
                        498,
                        306
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                279,
                                500,
                                291
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        279,
                                        500,
                                        291
                                    ],
                                    "type": "text",
                                    "content": "while循环需要弄清楚的是条件命令执行成功的时候做循环，直到条件命令执行不成功，",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                294,
                                148,
                                306
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        294,
                                        148,
                                        306
                                    ],
                                    "type": "text",
                                    "content": "则退出循环。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        321,
                        150,
                        333
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                322,
                                151,
                                336
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        322,
                                        151,
                                        336
                                    ],
                                    "type": "text",
                                    "content": "2.3 无限循环",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        349,
                        122,
                        360
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                347,
                                125,
                                363
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        347,
                                        125,
                                        363
                                    ],
                                    "type": "text",
                                    "content": "while :",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        377,
                        103,
                        387
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                375,
                                105,
                                391
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        375,
                                        105,
                                        391
                                    ],
                                    "type": "text",
                                    "content": "do",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        98,
                        404,
                        151,
                        415
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                99,
                                404,
                                152,
                                417
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        99,
                                        404,
                                        152,
                                        417
                                    ],
                                    "type": "text",
                                    "content": "command",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        432,
                        115,
                        443
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                428,
                                117,
                                446
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        428,
                                        117,
                                        446
                                    ],
                                    "type": "text",
                                    "content": "done",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        486,
                        111,
                        498
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                486,
                                113,
                                502
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        486,
                                        113,
                                        502
                                    ],
                                    "type": "text",
                                    "content": "或者",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        514,
                        139,
                        525
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 12,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                513,
                                141,
                                528
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        513,
                                        141,
                                        528
                                    ],
                                    "type": "text",
                                    "content": "while true",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        542,
                        103,
                        552
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 13,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                541,
                                105,
                                555
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        541,
                                        105,
                                        555
                                    ],
                                    "type": "text",
                                    "content": "do",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        98,
                        570,
                        151,
                        581
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 14,
                    "lines": [
                        {
                            "bbox": [
                                99,
                                570,
                                152,
                                582
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        99,
                                        570,
                                        152,
                                        582
                                    ],
                                    "type": "text",
                                    "content": "command",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        597,
                        115,
                        608
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 15,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                595,
                                117,
                                612
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        595,
                                        117,
                                        612
                                    ],
                                    "type": "text",
                                    "content": "done",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        652,
                        111,
                        664
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                651,
                                113,
                                667
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        651,
                                        113,
                                        667
                                    ],
                                    "type": "text",
                                    "content": "或者",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        679,
                        133,
                        692
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                677,
                                136,
                                694
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        677,
                                        136,
                                        694
                                    ],
                                    "type": "text",
                                    "content": "for (( ; ; ))",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        707,
                        505,
                        751
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 18,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                708,
                                505,
                                720
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        708,
                                        505,
                                        720
                                    ],
                                    "type": "text",
                                    "content": "until 循环执行一系列命令直至条件为真时停止。 until 循环与while 循环在处理方式上刚",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                723,
                                506,
                                736
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        723,
                                        506,
                                        736
                                    ],
                                    "type": "text",
                                    "content": "好相反。 一般 while 循环优于until 循环，但在某些时候—也只是极少数情况下，until 循",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                739,
                                148,
                                751
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        739,
                                        148,
                                        751
                                    ],
                                    "type": "text",
                                    "content": "环更加有用。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 40
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        87,
                        79,
                        160,
                        92
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                79,
                                161,
                                92
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        79,
                                        161,
                                        92
                                    ],
                                    "type": "text",
                                    "content": "until 语法格式:",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        106,
                        165,
                        120
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                105,
                                167,
                                121
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        105,
                                        167,
                                        121
                                    ],
                                    "type": "text",
                                    "content": "until cond_cmd",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        134,
                        103,
                        145
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                133,
                                105,
                                148
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        133,
                                        105,
                                        148
                                    ],
                                    "type": "text",
                                    "content": "do",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        98,
                        162,
                        151,
                        173
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                99,
                                163,
                                152,
                                174
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        99,
                                        163,
                                        152,
                                        174
                                    ],
                                    "type": "text",
                                    "content": "command",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        190,
                        116,
                        200
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                187,
                                117,
                                205
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        187,
                                        117,
                                        205
                                    ],
                                    "type": "text",
                                    "content": "done",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        244,
                        493,
                        258
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                243,
                                493,
                                258
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        243,
                                        493,
                                        258
                                    ],
                                    "type": "text",
                                    "content": "条件可为任意测试条件，测试发生在循环末尾，因此循环至少执行一次，请注意这一点。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        272,
                        157,
                        285
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                271,
                                158,
                                285
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        271,
                                        158,
                                        285
                                    ],
                                    "type": "text",
                                    "content": "until false; do",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        98,
                        301,
                        156,
                        312
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                98,
                                300,
                                157,
                                312
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        98,
                                        300,
                                        157,
                                        312
                                    ],
                                    "type": "text",
                                    "content": "commands",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        98,
                        327,
                        320,
                        340
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                97,
                                327,
                                321,
                                342
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        97,
                                        327,
                                        321,
                                        342
                                    ],
                                    "type": "text",
                                    "content": "[ condition ] && break # 条件满足时退出循环",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        355,
                        116,
                        366
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                352,
                                117,
                                370
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        352,
                                        117,
                                        370
                                    ],
                                    "type": "text",
                                    "content": "done",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        382,
                        505,
                        395
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                380,
                                506,
                                396
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        380,
                                        227,
                                        396
                                    ],
                                    "type": "text",
                                    "content": "一 般 地 ， 使 用",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        253,
                                        380,
                                        285,
                                        396
                                    ],
                                    "type": "text",
                                    "content": "while",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        311,
                                        380,
                                        402,
                                        396
                                    ],
                                    "type": "text",
                                    "content": "循 环 配 合",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        427,
                                        380,
                                        506,
                                        396
                                    ],
                                    "type": "text",
                                    "content": "case 实 现",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        425,
                        200,
                        439
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                423,
                                201,
                                440
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        423,
                                        201,
                                        440
                                    ],
                                    "type": "text",
                                    "content": "后台执行循环（done &",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        452,
                        505,
                        466
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 12,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                450,
                                508,
                                470
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        451,
                                        117,
                                        469
                                    ],
                                    "type": "text",
                                    "content": "Bash",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        158,
                                        450,
                                        341,
                                        470
                                    ],
                                    "type": "text",
                                    "content": "提 供 了 专 门 的",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        382,
                                        452,
                                        417,
                                        468
                                    ],
                                    "type": "text",
                                    "content": "select",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        458,
                                        450,
                                        508,
                                        470
                                    ],
                                    "type": "text",
                                    "content": "循 环",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        468,
                        505,
                        481
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 13,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                466,
                                508,
                                486
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        466,
                                        121,
                                        484
                                    ],
                                    "type": "text",
                                    "content": "select",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        168,
                                        466,
                                        508,
                                        486
                                    ],
                                    "type": "text",
                                    "content": "循 环 主 要 用 于 创 建 菜 单",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        483,
                        505,
                        497
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 14,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                481,
                                508,
                                500
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        483,
                                        121,
                                        499
                                    ],
                                    "type": "text",
                                    "content": "select",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        210,
                                        482,
                                        226,
                                        499
                                    ],
                                    "type": "text",
                                    "content": "是",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        266,
                                        481,
                                        282,
                                        500
                                    ],
                                    "type": "text",
                                    "content": "个",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        322,
                                        482,
                                        339,
                                        500
                                    ],
                                    "type": "text",
                                    "content": "无",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        379,
                                        482,
                                        395,
                                        499
                                    ],
                                    "type": "text",
                                    "content": "限",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        435,
                                        481,
                                        451,
                                        499
                                    ],
                                    "type": "text",
                                    "content": "循",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        482,
                                        508,
                                        500
                                    ],
                                    "type": "text",
                                    "content": "环",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        499,
                        505,
                        513
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 15,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                498,
                                506,
                                514
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        498,
                                        188,
                                        513
                                    ],
                                    "type": "text",
                                    "content": "通 常 要 配 合",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        208,
                                        502,
                                        235,
                                        513
                                    ],
                                    "type": "text",
                                    "content": "case",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        255,
                                        498,
                                        506,
                                        514
                                    ],
                                    "type": "text",
                                    "content": "语 句 处 理 不 同 的 选 单 及 退 出",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        515,
                        505,
                        528
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                513,
                                506,
                                531
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        513,
                                        121,
                                        530
                                    ],
                                    "type": "text",
                                    "content": "select",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        229,
                                        513,
                                        245,
                                        531
                                    ],
                                    "type": "text",
                                    "content": "循",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        293,
                                        513,
                                        310,
                                        531
                                    ],
                                    "type": "text",
                                    "content": "环",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        359,
                                        513,
                                        376,
                                        531
                                    ],
                                    "type": "text",
                                    "content": "的",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        426,
                                        513,
                                        442,
                                        531
                                    ],
                                    "type": "text",
                                    "content": "退",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        492,
                                        513,
                                        506,
                                        531
                                    ],
                                    "type": "text",
                                    "content": "出",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        530,
                        505,
                        544
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                528,
                                508,
                                547
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        528,
                                        104,
                                        547
                                    ],
                                    "type": "text",
                                    "content": "按",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        211,
                                        531,
                                        241,
                                        544
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\mathsf { c t r } \\mathsf { l } { + } \\mathsf { c }",
                                    "score": 0.59
                                },
                                {
                                    "bbox": [
                                        351,
                                        528,
                                        368,
                                        546
                                    ],
                                    "type": "text",
                                    "content": "退",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        398,
                                        528,
                                        414,
                                        546
                                    ],
                                    "type": "text",
                                    "content": "出",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        445,
                                        528,
                                        461,
                                        546
                                    ],
                                    "type": "text",
                                    "content": "循",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        529,
                                        508,
                                        547
                                    ],
                                    "type": "text",
                                    "content": "环",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        545,
                        505,
                        560
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 18,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                544,
                                506,
                                562
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        544,
                                        246,
                                        562
                                    ],
                                    "type": "text",
                                    "content": "在 循 环 体 内 用",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        280,
                                        544,
                                        314,
                                        562
                                    ],
                                    "type": "text",
                                    "content": "break",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        346,
                                        544,
                                        506,
                                        562
                                    ],
                                    "type": "text",
                                    "content": "命 令 退 出 循 环",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        561,
                        505,
                        575
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 19,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                560,
                                508,
                                578
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        560,
                                        104,
                                        577
                                    ],
                                    "type": "text",
                                    "content": "或",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        127,
                                        561,
                                        143,
                                        577
                                    ],
                                    "type": "text",
                                    "content": "用",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        203,
                                        561,
                                        226,
                                        578
                                    ],
                                    "type": "text",
                                    "content": "exit",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        285,
                                        560,
                                        301,
                                        577
                                    ],
                                    "type": "text",
                                    "content": "命",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        327,
                                        561,
                                        342,
                                        576
                                    ],
                                    "type": "text",
                                    "content": "令",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        368,
                                        560,
                                        386,
                                        576
                                    ],
                                    "type": "text",
                                    "content": "终",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        407,
                                        561,
                                        426,
                                        577
                                    ],
                                    "type": "text",
                                    "content": "止",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        449,
                                        560,
                                        467,
                                        576
                                    ],
                                    "type": "text",
                                    "content": "脚",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        490,
                                        560,
                                        508,
                                        577
                                    ],
                                    "type": "text",
                                    "content": "本",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        577,
                        146,
                        590
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 20,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                577,
                                148,
                                591
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        577,
                                        148,
                                        591
                                    ],
                                    "type": "text",
                                    "content": "#!/bin/bash",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        592,
                        505,
                        607
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 21,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                590,
                                506,
                                608
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        592,
                                        106,
                                        608
                                    ],
                                    "type": "text",
                                    "content": "##",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        202,
                                        590,
                                        253,
                                        608
                                    ],
                                    "type": "text",
                                    "content": "filename:",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        351,
                                        592,
                                        506,
                                        608
                                    ],
                                    "type": "text",
                                    "content": "what-lang-do-you-like_while.sh",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        608,
                        505,
                        621
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 22,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                608,
                                119,
                                623
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        608,
                                        119,
                                        623
                                    ],
                                    "type": "text",
                                    "content": "while",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        624,
                        103,
                        636
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 23,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                623,
                                105,
                                640
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        623,
                                        105,
                                        640
                                    ],
                                    "type": "text",
                                    "content": "do",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        160,
                        640,
                        505,
                        654
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 24,
                    "lines": [
                        {
                            "bbox": [
                                159,
                                636,
                                505,
                                658
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        159,
                                        638,
                                        189,
                                        655
                                    ],
                                    "type": "text",
                                    "content": "echo",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        221,
                                        639,
                                        264,
                                        653
                                    ],
                                    "type": "text",
                                    "content": "\"======",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        296,
                                        636,
                                        346,
                                        658
                                    ],
                                    "type": "text",
                                    "content": "Scripting",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        376,
                                        638,
                                        431,
                                        657
                                    ],
                                    "type": "text",
                                    "content": "Language",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        463,
                                        641,
                                        505,
                                        650
                                    ],
                                    "type": "text",
                                    "content": "======\"",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        264,
                        655,
                        505,
                        668
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 25,
                    "lines": [
                        {
                            "bbox": [
                                261,
                                652,
                                507,
                                672
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        261,
                                        654,
                                        291,
                                        671
                                    ],
                                    "type": "text",
                                    "content": "echo",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        373,
                                        652,
                                        393,
                                        672
                                    ],
                                    "type": "text",
                                    "content": "\"1)",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        474,
                                        653,
                                        507,
                                        671
                                    ],
                                    "type": "text",
                                    "content": "bash\"",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        264,
                        671,
                        505,
                        684
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 26,
                    "lines": [
                        {
                            "bbox": [
                                264,
                                667,
                                506,
                                688
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        264,
                                        669,
                                        293,
                                        687
                                    ],
                                    "type": "text",
                                    "content": "echo",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        376,
                                        667,
                                        396,
                                        688
                                    ],
                                    "type": "text",
                                    "content": "\"2)",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        476,
                                        671,
                                        506,
                                        686
                                    ],
                                    "type": "text",
                                    "content": "perl\"",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        258,
                        687,
                        505,
                        700
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 27,
                    "lines": [
                        {
                            "bbox": [
                                256,
                                683,
                                506,
                                703
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        256,
                                        684,
                                        286,
                                        702
                                    ],
                                    "type": "text",
                                    "content": "echo",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        364,
                                        683,
                                        385,
                                        703
                                    ],
                                    "type": "text",
                                    "content": "\"3)",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        462,
                                        686,
                                        506,
                                        700
                                    ],
                                    "type": "text",
                                    "content": "python\"",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        264,
                        703,
                        505,
                        715
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 28,
                    "lines": [
                        {
                            "bbox": [
                                262,
                                699,
                                508,
                                719
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        262,
                                        700,
                                        291,
                                        718
                                    ],
                                    "type": "text",
                                    "content": "echo",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        373,
                                        699,
                                        393,
                                        719
                                    ],
                                    "type": "text",
                                    "content": "\"4)",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        473,
                                        699,
                                        508,
                                        719
                                    ],
                                    "type": "text",
                                    "content": "ruby\"",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        227,
                        718,
                        505,
                        731
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 29,
                    "lines": [
                        {
                            "bbox": [
                                224,
                                715,
                                504,
                                735
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        224,
                                        715,
                                        255,
                                        734
                                    ],
                                    "type": "text",
                                    "content": "echo",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        318,
                                        716,
                                        337,
                                        734
                                    ],
                                    "type": "text",
                                    "content": "\"5)",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        401,
                                        716,
                                        434,
                                        735
                                    ],
                                    "type": "text",
                                    "content": "(Quit)",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        499,
                                        719,
                                        504,
                                        724
                                    ],
                                    "type": "text",
                                    "content": "1",
                                    "score": 0.596
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        113,
                        733,
                        505,
                        747
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 30,
                    "lines": [
                        {
                            "bbox": [
                                111,
                                729,
                                509,
                                751
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        111,
                                        730,
                                        443,
                                        750
                                    ],
                                    "type": "text",
                                    "content": "read -p \"What is your preferred scripting language?",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        464,
                                        729,
                                        509,
                                        751
                                    ],
                                    "type": "text",
                                    "content": "\" lang",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        266,
                        750,
                        505,
                        762
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 31,
                    "lines": [
                        {
                            "bbox": [
                                267,
                                745,
                                507,
                                766
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        267,
                                        751,
                                        292,
                                        762
                                    ],
                                    "type": "text",
                                    "content": "case",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        376,
                                        745,
                                        410,
                                        766
                                    ],
                                    "type": "text",
                                    "content": "$lang",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        493,
                                        748,
                                        507,
                                        762
                                    ],
                                    "type": "text",
                                    "content": "in",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 41
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        98,
                        77,
                        508,
                        154
                    ],
                    "type": "list",
                    "angle": 0,
                    "index": 5,
                    "blocks": [
                        {
                            "bbox": [
                                99,
                                77,
                                508,
                                91
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 0,
                            "lines": [
                                {
                                    "bbox": [
                                        99,
                                        76,
                                        505,
                                        94
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                99,
                                                77,
                                                179,
                                                94
                                            ],
                                            "type": "text",
                                            "content": "1|bash) echo",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                220,
                                                76,
                                                248,
                                                94
                                            ],
                                            "type": "text",
                                            "content": "\"You",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                289,
                                                78,
                                                334,
                                                94
                                            ],
                                            "type": "text",
                                            "content": "selected",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                375,
                                                76,
                                                409,
                                                93
                                            ],
                                            "type": "text",
                                            "content": "bash\"",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                498,
                                                86,
                                                505,
                                                91
                                            ],
                                            "type": "text",
                                            "content": "",
                                            "score": 0.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                98,
                                94,
                                507,
                                108
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 1,
                            "lines": [
                                {
                                    "bbox": [
                                        97,
                                        90,
                                        408,
                                        111
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                97,
                                                90,
                                                179,
                                                111
                                            ],
                                            "type": "text",
                                            "content": "2|perl) echo",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                221,
                                                90,
                                                250,
                                                111
                                            ],
                                            "type": "text",
                                            "content": "\"You",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                290,
                                                92,
                                                337,
                                                109
                                            ],
                                            "type": "text",
                                            "content": "selected",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                376,
                                                92,
                                                408,
                                                111
                                            ],
                                            "type": "text",
                                            "content": "perl\"",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                99,
                                110,
                                506,
                                124
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 2,
                            "lines": [
                                {
                                    "bbox": [
                                        97,
                                        105,
                                        508,
                                        127
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                97,
                                                108,
                                                178,
                                                126
                                            ],
                                            "type": "text",
                                            "content": "3|python) echo",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                246,
                                                105,
                                                277,
                                                127
                                            ],
                                            "type": "text",
                                            "content": "\"You",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                343,
                                                108,
                                                389,
                                                124
                                            ],
                                            "type": "text",
                                            "content": "selected",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                456,
                                                107,
                                                508,
                                                126
                                            ],
                                            "type": "text",
                                            "content": "python\";;",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                99,
                                126,
                                506,
                                139
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 3,
                            "lines": [
                                {
                                    "bbox": [
                                        98,
                                        121,
                                        505,
                                        142
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                98,
                                                123,
                                                179,
                                                142
                                            ],
                                            "type": "text",
                                            "content": "4|ruby) echo",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                220,
                                                121,
                                                249,
                                                142
                                            ],
                                            "type": "text",
                                            "content": "\"You",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                288,
                                                124,
                                                335,
                                                139
                                            ],
                                            "type": "text",
                                            "content": "selected",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                374,
                                                121,
                                                409,
                                                142
                                            ],
                                            "type": "text",
                                            "content": "ruby\"",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                498,
                                                132,
                                                505,
                                                139
                                            ],
                                            "type": "text",
                                            "content": ";;",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                99,
                                141,
                                506,
                                154
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 4,
                            "lines": [
                                {
                                    "bbox": [
                                        98,
                                        138,
                                        505,
                                        158
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                98,
                                                138,
                                                183,
                                                158
                                            ],
                                            "type": "text",
                                            "content": "5|quit) break",
                                            "score": 1.0
                                        },
                                        {
                                            "bbox": [
                                                499,
                                                148,
                                                505,
                                                154
                                            ],
                                            "type": "text",
                                            "content": ";;",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "sub_type": "text"
                },
                {
                    "bbox": [
                        481,
                        158,
                        506,
                        168
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                481,
                                158,
                                508,
                                172
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        481,
                                        158,
                                        508,
                                        172
                                    ],
                                    "type": "text",
                                    "content": "esac",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        173,
                        116,
                        185
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                169,
                                117,
                                188
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        169,
                                        117,
                                        188
                                    ],
                                    "type": "text",
                                    "content": "done",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        188,
                        142,
                        201
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                187,
                                143,
                                202
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        187,
                                        143,
                                        202
                                    ],
                                    "type": "text",
                                    "content": "select 语法",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        214,
                        508,
                        229
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                215,
                                506,
                                229
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        215,
                                        506,
                                        229
                                    ],
                                    "type": "text",
                                    "content": "按 数 值 顺 序 排 列 的 菜 单 项 （ list item ） 会 显 示 到 标 准 错 误",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        231,
                        506,
                        244
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                229,
                                508,
                                248
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        230,
                                        389,
                                        245
                                    ],
                                    "type": "text",
                                    "content": "菜 单 项 的 间 隔 符 由 环 境 变 量",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        417,
                                        231,
                                        437,
                                        245
                                    ],
                                    "type": "text",
                                    "content": "IFS",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        465,
                                        229,
                                        508,
                                        248
                                    ],
                                    "type": "text",
                                    "content": "决 定",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        246,
                        506,
                        259
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                245,
                                508,
                                263
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        245,
                                        508,
                                        263
                                    ],
                                    "type": "text",
                                    "content": "用 于 引 导 用 户 输 入 的 提 示 信 息 存 放 在 环 境 变 量 PS3 中",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        262,
                        506,
                        275
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 12,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                260,
                                506,
                                277
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        260,
                                        414,
                                        276
                                    ],
                                    "type": "text",
                                    "content": "用 户 输 入 的 值 会 被 存 储 在 内 置 变 量",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        436,
                                        261,
                                        471,
                                        277
                                    ],
                                    "type": "text",
                                    "content": "RELAY",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        262,
                                        506,
                                        276
                                    ],
                                    "type": "text",
                                    "content": "中",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        278,
                        506,
                        290
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 13,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                276,
                                507,
                                293
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        276,
                                        507,
                                        293
                                    ],
                                    "type": "text",
                                    "content": "用 户 直 接 输 入 回 车 将 重 新 显 示 菜 单",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        293,
                        506,
                        306
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 14,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                290,
                                508,
                                309
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        290,
                                        508,
                                        309
                                    ],
                                    "type": "text",
                                    "content": "与 for 循 环 类 似 ， 省 略 in list 时 等 价 于 in “$*”",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        309,
                        506,
                        322
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 15,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                307,
                                508,
                                324
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        307,
                                        121,
                                        324
                                    ],
                                    "type": "text",
                                    "content": "select",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        223,
                                        308,
                                        267,
                                        322
                                    ],
                                    "type": "text",
                                    "content": "variable",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        371,
                                        308,
                                        385,
                                        323
                                    ],
                                    "type": "text",
                                    "content": "in",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        487,
                                        307,
                                        508,
                                        323
                                    ],
                                    "type": "text",
                                    "content": "list",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        324,
                        506,
                        338
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                322,
                                506,
                                341
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        322,
                                        107,
                                        341
                                    ],
                                    "type": "text",
                                    "content": "do",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        289,
                                        324,
                                        300,
                                        338
                                    ],
                                    "type": "text",
                                    "content": "#",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        332,
                                        323,
                                        506,
                                        339
                                    ],
                                    "type": "text",
                                    "content": "循 环 开 始 的 标 志",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        339,
                        506,
                        354
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                107,
                                339,
                                506,
                                354
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        107,
                                        339,
                                        506,
                                        354
                                    ],
                                    "type": "text",
                                    "content": "commands # 循 环 变 量 每 取 一 次 值 ， 循 环 体 就 执 行 一 遍",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        356,
                        506,
                        369
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 18,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                354,
                                507,
                                371
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        354,
                                        119,
                                        371
                                    ],
                                    "type": "text",
                                    "content": "done",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        277,
                                        355,
                                        288,
                                        370
                                    ],
                                    "type": "text",
                                    "content": "#",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        321,
                                        354,
                                        507,
                                        371
                                    ],
                                    "type": "text",
                                    "content": "循 环 结 束 的 标 志",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        371,
                        132,
                        384
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 19,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                371,
                                133,
                                386
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        371,
                                        133,
                                        386
                                    ],
                                    "type": "text",
                                    "content": "参数处理",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        398,
                        508,
                        412
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 20,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                398,
                                505,
                                412
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        398,
                                        505,
                                        412
                                    ],
                                    "type": "text",
                                    "content": "在 脚 本 中 经 常 使 用 流 程 控 制 处 理 位 置 参 数",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        414,
                        506,
                        428
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 21,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                412,
                                508,
                                431
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        413,
                                        102,
                                        430
                                    ],
                                    "type": "text",
                                    "content": "循",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        141,
                                        414,
                                        158,
                                        431
                                    ],
                                    "type": "text",
                                    "content": "环",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        196,
                                        413,
                                        213,
                                        430
                                    ],
                                    "type": "text",
                                    "content": "结",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        252,
                                        413,
                                        268,
                                        431
                                    ],
                                    "type": "text",
                                    "content": "构",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        361,
                                        412,
                                        394,
                                        430
                                    ],
                                    "type": "text",
                                    "content": "while",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        487,
                                        413,
                                        508,
                                        431
                                    ],
                                    "type": "text",
                                    "content": "for",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        429,
                        506,
                        443
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 22,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                428,
                                506,
                                447
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        428,
                                        102,
                                        446
                                    ],
                                    "type": "text",
                                    "content": "多",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        152,
                                        428,
                                        168,
                                        447
                                    ],
                                    "type": "text",
                                    "content": "分",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        217,
                                        428,
                                        235,
                                        447
                                    ],
                                    "type": "text",
                                    "content": "支",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        283,
                                        428,
                                        299,
                                        446
                                    ],
                                    "type": "text",
                                    "content": "结",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        348,
                                        428,
                                        365,
                                        446
                                    ],
                                    "type": "text",
                                    "content": "构",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        481,
                                        432,
                                        506,
                                        444
                                    ],
                                    "type": "text",
                                    "content": "case",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        445,
                        506,
                        459
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 23,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                445,
                                506,
                                460
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        445,
                                        506,
                                        460
                                    ],
                                    "type": "text",
                                    "content": "在 脚 本 中 经 常 使 用 如 下 命 令 配 合 位 置 参 数 处 理",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        461,
                        113,
                        474
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 24,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                460,
                                114,
                                476
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        460,
                                        114,
                                        476
                                    ],
                                    "type": "text",
                                    "content": "shift",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        478,
                        128,
                        491
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 25,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                476,
                                129,
                                492
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        476,
                                        129,
                                        492
                                    ],
                                    "type": "text",
                                    "content": "getopts",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        507,
                        508,
                        522
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 26,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                504,
                                508,
                                525
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        506,
                                        311,
                                        524
                                    ],
                                    "type": "text",
                                    "content": "mybackup -z -c /etc/mybackup.conf",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        339,
                                        506,
                                        437,
                                        523
                                    ],
                                    "type": "text",
                                    "content": "-r -v ./foo.txt",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        466,
                                        504,
                                        508,
                                        525
                                    ],
                                    "type": "text",
                                    "content": "./mydir",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        523,
                        506,
                        537
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 27,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                521,
                                506,
                                540
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        521,
                                        506,
                                        540
                                    ],
                                    "type": "text",
                                    "content": "-z 是 个 选 项 （ option ） ， 以 减 号 开 始 的 单 字 符",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        539,
                        499,
                        553
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 28,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                538,
                                499,
                                555
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        538,
                                        499,
                                        555
                                    ],
                                    "type": "text",
                                    "content": "-c 也是个选项，/etc/mybackup.conf 是该选项的附加参数（additional argument ）",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        555,
                        506,
                        568
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 29,
                    "lines": [
                        {
                            "bbox": [
                                85,
                                551,
                                508,
                                572
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        85,
                                        551,
                                        508,
                                        572
                                    ],
                                    "type": "text",
                                    "content": "-r 和 -v 也 是 选 项 ， 且 不 带 附 加 参 数",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        570,
                        506,
                        584
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 30,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                570,
                                506,
                                585
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        570,
                                        506,
                                        585
                                    ],
                                    "type": "text",
                                    "content": "./foo.txt 和 ./mydir 是脚本的处理对象，他们是不与任何选项相关的参数，在 POSIX®标",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        586,
                        284,
                        600
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 31,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                582,
                                285,
                                603
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        582,
                                        285,
                                        603
                                    ],
                                    "type": "text",
                                    "content": "准中称其为“操作 对象/数”（operands）",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        669,
                        506,
                        682
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 32,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                667,
                                508,
                                685
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        668,
                                        130,
                                        684
                                    ],
                                    "type": "text",
                                    "content": "getopts",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        202,
                                        667,
                                        263,
                                        682
                                    ],
                                    "type": "text",
                                    "content": "OPTSTRING",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        335,
                                        667,
                                        389,
                                        683
                                    ],
                                    "type": "text",
                                    "content": "VARNAME",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        459,
                                        667,
                                        508,
                                        685
                                    ],
                                    "type": "text",
                                    "content": "[ARGS...]",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        684,
                        148,
                        697
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 33,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                685,
                                149,
                                699
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        685,
                                        149,
                                        699
                                    ],
                                    "type": "text",
                                    "content": "OPTSTRING",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        699,
                        508,
                        713
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 34,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                699,
                                505,
                                713
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        699,
                                        505,
                                        713
                                    ],
                                    "type": "text",
                                    "content": "是 由 若 干 有 效 的 选 项 标 识 符 组 成 的 选 项 字 符 串",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        715,
                        506,
                        729
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 35,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                714,
                                506,
                                729
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        714,
                                        506,
                                        729
                                    ],
                                    "type": "text",
                                    "content": "若 某 选 项 标 识 符 后 有 冒 号 ， 则 表 示 此 选 项 有 附 加 参 数",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        731,
                        506,
                        744
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 36,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                729,
                                507,
                                745
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        729,
                                        507,
                                        745
                                    ],
                                    "type": "text",
                                    "content": "若 整 个 字 符 串 前 有 冒 号 ， 将 使 用 “ 安 静 ” 的 错 误 模 式",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        746,
                        506,
                        759
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 37,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                746,
                                505,
                                761
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        746,
                                        141,
                                        760
                                    ],
                                    "type": "text",
                                    "content": "VARNAME",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        158,
                                        746,
                                        505,
                                        761
                                    ],
                                    "type": "text",
                                    "content": "： 每 次 匹 配 成 功 的 选 项 保 存 在 变 量 中",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 42
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        86,
                        77,
                        508,
                        91
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                76,
                                507,
                                94
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        78,
                                        119,
                                        94
                                    ],
                                    "type": "text",
                                    "content": "ARGS",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        195,
                                        76,
                                        426,
                                        94
                                    ],
                                    "type": "text",
                                    "content": "参 数 列 表 ， 省 略 时 为",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        456,
                                        78,
                                        464,
                                        85
                                    ],
                                    "type": "text",
                                    "content": "”",
                                    "score": 0.957
                                },
                                {
                                    "bbox": [
                                        482,
                                        78,
                                        507,
                                        94
                                    ],
                                    "type": "text",
                                    "content": "$@”",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        95,
                        507,
                        108
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                94,
                                509,
                                112
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        94,
                                        130,
                                        111
                                    ],
                                    "type": "text",
                                    "content": "getopts",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        295,
                                        95,
                                        321,
                                        109
                                    ],
                                    "type": "text",
                                    "content": "c:zrv",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        485,
                                        94,
                                        509,
                                        112
                                    ],
                                    "type": "text",
                                    "content": "opt",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        111,
                        506,
                        123
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                109,
                                509,
                                127
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        110,
                                        130,
                                        126
                                    ],
                                    "type": "text",
                                    "content": "getopts",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        293,
                                        111,
                                        323,
                                        125
                                    ],
                                    "type": "text",
                                    "content": ":c:zrv",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        485,
                                        109,
                                        509,
                                        127
                                    ],
                                    "type": "text",
                                    "content": "opt",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        125,
                        506,
                        138
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                125,
                                505,
                                139
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        125,
                                        505,
                                        139
                                    ],
                                    "type": "text",
                                    "content": "通常需要以循环的方式执行多次 getopts 来解析位置参数中的选项以及可能存在的选项附",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        141,
                        506,
                        154
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                139,
                                508,
                                158
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        140,
                                        102,
                                        158
                                    ],
                                    "type": "text",
                                    "content": "加",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        290,
                                        140,
                                        305,
                                        158
                                    ],
                                    "type": "text",
                                    "content": "参",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        139,
                                        508,
                                        158
                                    ],
                                    "type": "text",
                                    "content": "数",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        156,
                        506,
                        170
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                154,
                                507,
                                172
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        154,
                                        507,
                                        172
                                    ],
                                    "type": "text",
                                    "content": "每 次 调 用 getopts ， 将 会 处 理 参 数 列 表 中 的 “ 下 一 个 ” 选 项",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        172,
                        506,
                        185
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                169,
                                506,
                                190
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        171,
                                        105,
                                        187
                                    ],
                                    "type": "text",
                                    "content": "将",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        114,
                                        169,
                                        307,
                                        190
                                    ],
                                    "type": "text",
                                    "content": "选 项 存 储 在",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        330,
                                        172,
                                        384,
                                        186
                                    ],
                                    "type": "text",
                                    "content": "VARNAME",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        411,
                                        171,
                                        429,
                                        187
                                    ],
                                    "type": "text",
                                    "content": "变",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        451,
                                        172,
                                        467,
                                        186
                                    ],
                                    "type": "text",
                                    "content": "量",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        490,
                                        171,
                                        506,
                                        188
                                    ],
                                    "type": "text",
                                    "content": "中",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        188,
                        506,
                        201
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                187,
                                506,
                                201
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        187,
                                        506,
                                        201
                                    ],
                                    "type": "text",
                                    "content": "将 此 选 项 对 应 的 附 加 参 数 存 储 在 环 境 变 量 OPTARG 中",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        203,
                        506,
                        216
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                203,
                                506,
                                217
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        203,
                                        506,
                                        217
                                    ],
                                    "type": "text",
                                    "content": "对环境变量OPTIND进行自增操作，使 $OPTIND 总是指向原始参数列表中“下一个”要",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        219,
                        506,
                        232
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                216,
                                507,
                                236
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        216,
                                        104,
                                        236
                                    ],
                                    "type": "text",
                                    "content": "处",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        154,
                                        218,
                                        170,
                                        235
                                    ],
                                    "type": "text",
                                    "content": "理",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        222,
                                        217,
                                        238,
                                        235
                                    ],
                                    "type": "text",
                                    "content": "的",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        289,
                                        216,
                                        306,
                                        236
                                    ],
                                    "type": "text",
                                    "content": "元",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        357,
                                        217,
                                        373,
                                        235
                                    ],
                                    "type": "text",
                                    "content": "素",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        424,
                                        218,
                                        440,
                                        235
                                    ],
                                    "type": "text",
                                    "content": "位",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        218,
                                        507,
                                        235
                                    ],
                                    "type": "text",
                                    "content": "置",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        234,
                        506,
                        248
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                234,
                                506,
                                249
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        234,
                                        506,
                                        249
                                    ],
                                    "type": "text",
                                    "content": "若$VARNAME 与$OPTSTRING 的所有选项均不匹配，则做“invalid option”的错误设置",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        250,
                        506,
                        264
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                248,
                                506,
                                264
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        248,
                                        506,
                                        264
                                    ],
                                    "type": "text",
                                    "content": "若 某 选 项 的 参 数 不 存 在 ， 则 做 “ required argument not found” 的 错 误 设 置",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        265,
                        506,
                        280
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 12,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                264,
                                501,
                                281
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        264,
                                        268,
                                        281
                                    ],
                                    "type": "text",
                                    "content": "冗 余 (Verbose) 模 式 （",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        287,
                                        265,
                                        349,
                                        280
                                    ],
                                    "type": "text",
                                    "content": "OPTSTRING",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        375,
                                        264,
                                        501,
                                        281
                                    ],
                                    "type": "text",
                                    "content": "不 以 : 开 头 ）",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        281,
                        506,
                        295
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 13,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                280,
                                507,
                                297
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        280,
                                        128,
                                        296
                                    ],
                                    "type": "text",
                                    "content": "“invalid",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        466,
                                        280,
                                        507,
                                        297
                                    ],
                                    "type": "text",
                                    "content": "option”",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        296,
                        506,
                        310
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 14,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                296,
                                506,
                                312
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        297,
                                        158,
                                        309
                                    ],
                                    "type": "text",
                                    "content": "VARNAME=“?”",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        342,
                                        297,
                                        374,
                                        312
                                    ],
                                    "type": "text",
                                    "content": "unset",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        462,
                                        296,
                                        506,
                                        312
                                    ],
                                    "type": "text",
                                    "content": "OPTARG",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        312,
                        506,
                        325
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 15,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                310,
                                507,
                                327
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        310,
                                        138,
                                        327
                                    ],
                                    "type": "text",
                                    "content": "“required",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        222,
                                        312,
                                        277,
                                        327
                                    ],
                                    "type": "text",
                                    "content": "argument",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        361,
                                        311,
                                        385,
                                        327
                                    ],
                                    "type": "text",
                                    "content": "not",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        468,
                                        310,
                                        507,
                                        327
                                    ],
                                    "type": "text",
                                    "content": "found”",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        328,
                        506,
                        341
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                327,
                                506,
                                343
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        328,
                                        135,
                                        342
                                    ],
                                    "type": "text",
                                    "content": "VARNAM",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        135,
                                        329,
                                        158,
                                        340
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\bar { \\cdot } = \" ? \\prime",
                                    "score": 0.54
                                },
                                {
                                    "bbox": [
                                        196,
                                        329,
                                        232,
                                        343
                                    ],
                                    "type": "text",
                                    "content": "unset",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        238,
                                        327,
                                        290,
                                        343
                                    ],
                                    "type": "text",
                                    "content": "OPTARG",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        323,
                                        327,
                                        506,
                                        343
                                    ],
                                    "type": "text",
                                    "content": "并 输 出 错 误 信 息",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        343,
                        506,
                        357
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                342,
                                501,
                                359
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        342,
                                        266,
                                        359
                                    ],
                                    "type": "text",
                                    "content": "安 静 (Silent) 模 式 （",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        295,
                                        343,
                                        357,
                                        358
                                    ],
                                    "type": "text",
                                    "content": "OPTSTRING",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        389,
                                        342,
                                        501,
                                        359
                                    ],
                                    "type": "text",
                                    "content": "以 : 开 头 ）",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        359,
                        506,
                        373
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 18,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                357,
                                508,
                                375
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        357,
                                        128,
                                        374
                                    ],
                                    "type": "text",
                                    "content": "“invalid",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        465,
                                        359,
                                        508,
                                        375
                                    ],
                                    "type": "text",
                                    "content": "option”",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        375,
                        506,
                        388
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 19,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                372,
                                497,
                                391
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        374,
                                        137,
                                        388
                                    ],
                                    "type": "text",
                                    "content": "VARNAME",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        138,
                                        376,
                                        158,
                                        386
                                    ],
                                    "type": "inline_equation",
                                    "content": ": = \" ? \"",
                                    "score": 0.51
                                },
                                {
                                    "bbox": [
                                        203,
                                        372,
                                        477,
                                        391
                                    ],
                                    "type": "text",
                                    "content": "OPTARG=‘ 无 效 的 选 项 字 符",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        493,
                                        376,
                                        497,
                                        380
                                    ],
                                    "type": "text",
                                    "content": "，",
                                    "score": 0.547
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        391,
                        506,
                        404
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 20,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                386,
                                507,
                                407
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        386,
                                        139,
                                        407
                                    ],
                                    "type": "text",
                                    "content": "“required",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        222,
                                        390,
                                        277,
                                        406
                                    ],
                                    "type": "text",
                                    "content": "argument",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        361,
                                        389,
                                        385,
                                        406
                                    ],
                                    "type": "text",
                                    "content": "not",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        468,
                                        388,
                                        507,
                                        406
                                    ],
                                    "type": "text",
                                    "content": "found”",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        406,
                        506,
                        418
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 21,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                404,
                                499,
                                420
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        405,
                                        161,
                                        419
                                    ],
                                    "type": "text",
                                    "content": "VARNAME=“:”",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        162,
                                        404,
                                        499,
                                        420
                                    ],
                                    "type": "text",
                                    "content": "; OPTARG=‘ 与 参 数 对 应 的 选 项 字 符",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        437,
                        112,
                        450
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 22,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                436,
                                114,
                                453
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        436,
                                        114,
                                        453
                                    ],
                                    "type": "text",
                                    "content": "函数",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        464,
                        506,
                        478
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 23,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                463,
                                506,
                                479
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        463,
                                        506,
                                        479
                                    ],
                                    "type": "text",
                                    "content": "为 了 避 免 大 型 脚 本 变 得 复 杂 、 晦 涩 而 使 用 函 数",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        480,
                        506,
                        493
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 24,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                481,
                                506,
                                493
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        481,
                                        506,
                                        493
                                    ],
                                    "type": "text",
                                    "content": "将 大 型 脚 本 代 码 分 割 成 小 块 ， 将 这 些 被 命 名 的 代 码 块 称 为 函 数",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        496,
                        506,
                        509
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 25,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                494,
                                506,
                                511
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        494,
                                        506,
                                        511
                                    ],
                                    "type": "text",
                                    "content": "一 个 函 数 就 是 一 个 子 程 序 ， 用 于 完 成 特 定 的 任 务",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        511,
                        506,
                        524
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 26,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                511,
                                508,
                                526
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        511,
                                        508,
                                        526
                                    ],
                                    "type": "text",
                                    "content": "如 ： 添 加 一 个 用 户 、 判 断 用 户 是 否 为 管 理 员 等",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        527,
                        506,
                        540
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 27,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                526,
                                506,
                                542
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        526,
                                        506,
                                        542
                                    ],
                                    "type": "text",
                                    "content": "函 数 定 义 之 后 可 以 被 使 用 它 的 主 程 序 调 用",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        542,
                        506,
                        555
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 28,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                540,
                                507,
                                558
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        540,
                                        507,
                                        558
                                    ],
                                    "type": "text",
                                    "content": "调 用 函 数 的 方 法 与 执 行 Shell 命 令 无 异",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        558,
                        506,
                        571
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 29,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                558,
                                499,
                                571
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        558,
                                        499,
                                        571
                                    ],
                                    "type": "text",
                                    "content": "可 以 在 Shell 脚 本 中 调 用 （ 函 数 需 先 定 义 而 后 调 用 ）",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        574,
                        506,
                        587
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 30,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                573,
                                500,
                                587
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        573,
                                        500,
                                        587
                                    ],
                                    "type": "text",
                                    "content": "在 命 令 行 上 直 接 调 用 （ 定 义 函 数 的 文 件 需 先 加 载 ）",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        589,
                        506,
                        602
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 31,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                587,
                                508,
                                608
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        587,
                                        308,
                                        608
                                    ],
                                    "type": "text",
                                    "content": "简 化 程 序 代 码 ，",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        319,
                                        587,
                                        508,
                                        608
                                    ],
                                    "type": "text",
                                    "content": "实 现 代 码 重 用",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        605,
                        506,
                        618
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 32,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                604,
                                501,
                                619
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        604,
                                        501,
                                        619
                                    ],
                                    "type": "text",
                                    "content": "实现一次定义多次调用。如：is_root_user（）函数可以由不同的 shell脚本重复使用。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        620,
                        506,
                        634
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 33,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                618,
                                507,
                                637
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        619,
                                        103,
                                        637
                                    ],
                                    "type": "text",
                                    "content": "实",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        155,
                                        619,
                                        170,
                                        637
                                    ],
                                    "type": "text",
                                    "content": "现",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        221,
                                        618,
                                        238,
                                        637
                                    ],
                                    "type": "text",
                                    "content": "结",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        289,
                                        619,
                                        305,
                                        637
                                    ],
                                    "type": "text",
                                    "content": "构",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        357,
                                        619,
                                        373,
                                        637
                                    ],
                                    "type": "text",
                                    "content": "化",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        424,
                                        618,
                                        440,
                                        636
                                    ],
                                    "type": "text",
                                    "content": "编",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        619,
                                        507,
                                        636
                                    ],
                                    "type": "text",
                                    "content": "程",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        635,
                        506,
                        649
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 34,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                634,
                                507,
                                652
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        634,
                                        507,
                                        652
                                    ],
                                    "type": "text",
                                    "content": "使 脚 本 内 容 更 加 简 洁 ， 增 强 程 序 的 易 读 性",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        651,
                        506,
                        665
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 35,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                650,
                                508,
                                669
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        650,
                                        103,
                                        667
                                    ],
                                    "type": "text",
                                    "content": "提",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        168,
                                        650,
                                        184,
                                        667
                                    ],
                                    "type": "text",
                                    "content": "高",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        248,
                                        650,
                                        265,
                                        668
                                    ],
                                    "type": "text",
                                    "content": "执",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        330,
                                        650,
                                        345,
                                        667
                                    ],
                                    "type": "text",
                                    "content": "行",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        409,
                                        650,
                                        427,
                                        668
                                    ],
                                    "type": "text",
                                    "content": "效",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        490,
                                        650,
                                        508,
                                        669
                                    ],
                                    "type": "text",
                                    "content": "率",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        666,
                        506,
                        681
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 36,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                666,
                                506,
                                682
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        666,
                                        506,
                                        682
                                    ],
                                    "type": "text",
                                    "content": "将 常 用 的 功 能 定 义 为 多 个 函 数 并 将 其 保 存 在 一 个 文 件 中",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        682,
                        506,
                        696
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 37,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                680,
                                508,
                                701
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        680,
                                        307,
                                        701
                                    ],
                                    "type": "text",
                                    "content": "类 似 其 他 语 言 的",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        330,
                                        683,
                                        337,
                                        689
                                    ],
                                    "type": "text",
                                    "content": "66",
                                    "score": 0.791
                                },
                                {
                                    "bbox": [
                                        354,
                                        680,
                                        408,
                                        700
                                    ],
                                    "type": "text",
                                    "content": "模 块",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        425,
                                        683,
                                        431,
                                        690
                                    ],
                                    "type": "text",
                                    "content": "”",
                                    "score": 0.932
                                },
                                {
                                    "bbox": [
                                        455,
                                        680,
                                        508,
                                        700
                                    ],
                                    "type": "text",
                                    "content": "文 件",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        698,
                        506,
                        711
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 38,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                697,
                                507,
                                714
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        697,
                                        507,
                                        714
                                    ],
                                    "type": "text",
                                    "content": "在 ~/bashrc 或 命 令 行 上 使 用 source 命 令 调 用 这 个 文 件",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        714,
                        506,
                        727
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 39,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                714,
                                505,
                                727
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        714,
                                        505,
                                        727
                                    ],
                                    "type": "text",
                                    "content": "此 文 件 中 定 义 的 多 个 函 数 一 次 性 地 调 入 内 存 ， 从 而 加 快 运 行 速 度",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        729,
                        506,
                        743
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 40,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                727,
                                508,
                                746
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        728,
                                        133,
                                        746
                                    ],
                                    "type": "text",
                                    "content": "function",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        242,
                                        729,
                                        257,
                                        745
                                    ],
                                    "type": "text",
                                    "content": "函",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        308,
                                        727,
                                        325,
                                        746
                                    ],
                                    "type": "text",
                                    "content": "数",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        374,
                                        728,
                                        389,
                                        746
                                    ],
                                    "type": "text",
                                    "content": "名",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        498,
                                        730,
                                        508,
                                        745
                                    ],
                                    "type": "text",
                                    "content": "{",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        448,
                        746,
                        506,
                        757
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 41,
                    "lines": [
                        {
                            "bbox": [
                                448,
                                746,
                                506,
                                759
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        448,
                                        746,
                                        506,
                                        759
                                    ],
                                    "type": "text",
                                    "content": "commands",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 43
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        87,
                        79,
                        95,
                        91
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                80,
                                97,
                                94
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        80,
                                        97,
                                        94
                                    ],
                                    "type": "text",
                                    "content": "}",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        95,
                        506,
                        108
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                92,
                                508,
                                111
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        94,
                                        102,
                                        109
                                    ],
                                    "type": "text",
                                    "content": "函",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        188,
                                        93,
                                        205,
                                        111
                                    ],
                                    "type": "text",
                                    "content": "数",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        289,
                                        92,
                                        305,
                                        110
                                    ],
                                    "type": "text",
                                    "content": "的",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        390,
                                        93,
                                        406,
                                        111
                                    ],
                                    "type": "text",
                                    "content": "存",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        93,
                                        508,
                                        111
                                    ],
                                    "type": "text",
                                    "content": "储",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        110,
                        505,
                        122
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                109,
                                505,
                                124
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        109,
                                        505,
                                        124
                                    ],
                                    "type": "text",
                                    "content": "函 数 和 调 用 它 的 主 程 序 保 存 在 同 一 个 文 件 中",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        125,
                        505,
                        138
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                122,
                                508,
                                142
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        122,
                                        508,
                                        142
                                    ],
                                    "type": "text",
                                    "content": "函 数 的 定 义 必 须 出 现 在 调 用 之 前",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        141,
                        505,
                        154
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                141,
                                505,
                                155
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        141,
                                        505,
                                        155
                                    ],
                                    "type": "text",
                                    "content": "函 数 和 调 用 它 的 主 程 序 保 存 在 不 同 的 文 件 中",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        157,
                        505,
                        170
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                156,
                                506,
                                170
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        156,
                                        506,
                                        170
                                    ],
                                    "type": "text",
                                    "content": "保 存 函 数 的 文 件 必 须 先 使 用 source 命 令 执 行 ， 之 后 才 能 调 用 其 中 的 函 数",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        173,
                        505,
                        185
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                171,
                                508,
                                188
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        171,
                                        102,
                                        188
                                    ],
                                    "type": "text",
                                    "content": "函",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        188,
                                        171,
                                        204,
                                        188
                                    ],
                                    "type": "text",
                                    "content": "数",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        289,
                                        171,
                                        305,
                                        188
                                    ],
                                    "type": "text",
                                    "content": "的",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        391,
                                        171,
                                        406,
                                        188
                                    ],
                                    "type": "text",
                                    "content": "显",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        171,
                                        508,
                                        188
                                    ],
                                    "type": "text",
                                    "content": "示",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        188,
                        505,
                        201
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                185,
                                508,
                                206
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        185,
                                        508,
                                        206
                                    ],
                                    "type": "text",
                                    "content": "显 示 当 前 Shell 可 见 的 所 有 函 数 名",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        205,
                        505,
                        216
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                202,
                                508,
                                218
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        204,
                                        97,
                                        216
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 1",
                                    "score": 0.67
                                },
                                {
                                    "bbox": [
                                        275,
                                        202,
                                        317,
                                        218
                                    ],
                                    "type": "text",
                                    "content": "declare",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        493,
                                        203,
                                        508,
                                        218
                                    ],
                                    "type": "text",
                                    "content": "-F",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        219,
                        505,
                        232
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                217,
                                506,
                                233
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        217,
                                        506,
                                        233
                                    ],
                                    "type": "text",
                                    "content": "显 示 当 前 Shell 可 见 的 所 有 （ 指 定 ） 的 函 数 定 义",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        235,
                        505,
                        247
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                232,
                                508,
                                250
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        235,
                                        97,
                                        247
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 1",
                                    "score": 0.71
                                },
                                {
                                    "bbox": [
                                        276,
                                        232,
                                        317,
                                        250
                                    ],
                                    "type": "text",
                                    "content": "declare",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        495,
                                        233,
                                        508,
                                        250
                                    ],
                                    "type": "text",
                                    "content": "-f",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        250,
                        505,
                        263
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                248,
                                506,
                                265
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        250,
                                        96,
                                        263
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 1",
                                    "score": 0.73
                                },
                                {
                                    "bbox": [
                                        164,
                                        248,
                                        205,
                                        265
                                    ],
                                    "type": "text",
                                    "content": "declare",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        270,
                                        248,
                                        284,
                                        264
                                    ],
                                    "type": "text",
                                    "content": "-f",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        421,
                                        249,
                                        506,
                                        264
                                    ],
                                    "type": "text",
                                    "content": "<functionName>",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        265,
                        505,
                        279
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 12,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                263,
                                508,
                                282
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        264,
                                        102,
                                        282
                                    ],
                                    "type": "text",
                                    "content": "参",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        264,
                                        263,
                                        280,
                                        282
                                    ],
                                    "type": "text",
                                    "content": "数",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        441,
                                        264,
                                        508,
                                        282
                                    ],
                                    "type": "text",
                                    "content": "(Arguments)",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        281,
                        505,
                        294
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 13,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                280,
                                506,
                                296
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        280,
                                        506,
                                        296
                                    ],
                                    "type": "text",
                                    "content": "调 用 函 数 时 ， 使 用 位 置 参 数 的 形 式 为 函 数 传 递 参 数",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        297,
                        505,
                        310
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 14,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                295,
                                508,
                                312
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        295,
                                        168,
                                        312
                                    ],
                                    "type": "text",
                                    "content": "函 数 内 的",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        168,
                                        297,
                                        207,
                                        310
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 1-\\$ 12",
                                    "score": 0.81
                                },
                                {
                                    "bbox": [
                                        246,
                                        297,
                                        261,
                                        310
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ \\star",
                                    "score": 0.64
                                },
                                {
                                    "bbox": [
                                        262,
                                        295,
                                        313,
                                        312
                                    ],
                                    "type": "text",
                                    "content": "和機",
                                    "score": 0.7
                                },
                                {
                                    "bbox": [
                                        313,
                                        297,
                                        331,
                                        310
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 0",
                                    "score": 0.74
                                },
                                {
                                    "bbox": [
                                        331,
                                        295,
                                        508,
                                        312
                                    ],
                                    "type": "text",
                                    "content": "表 示 其 接 收 的 参 数",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        312,
                        505,
                        325
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 15,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                312,
                                506,
                                327
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        312,
                                        229,
                                        327
                                    ],
                                    "type": "text",
                                    "content": "函 数 调 用 结 束 后 位 置 参 数",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        229,
                                        312,
                                        268,
                                        326
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 1-\\$ 12",
                                    "score": 0.53
                                },
                                {
                                    "bbox": [
                                        269,
                                        312,
                                        284,
                                        327
                                    ],
                                    "type": "text",
                                    "content": "、",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        284,
                                        312,
                                        300,
                                        325
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ \\star",
                                    "score": 0.55
                                },
                                {
                                    "bbox": [
                                        300,
                                        312,
                                        319,
                                        327
                                    ],
                                    "type": "text",
                                    "content": "和",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        320,
                                        312,
                                        339,
                                        326
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 0",
                                    "score": 0.74
                                },
                                {
                                    "bbox": [
                                        339,
                                        312,
                                        506,
                                        327
                                    ],
                                    "type": "text",
                                    "content": "将 被 重 置 为 调 用 函 数 之 前 的 值",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        328,
                        505,
                        341
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                327,
                                506,
                                343
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        327,
                                        313,
                                        343
                                    ],
                                    "type": "text",
                                    "content": "在 主 程 序 和 函 数 中 ，",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        314,
                                        328,
                                        329,
                                        342
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 0",
                                    "score": 0.8
                                },
                                {
                                    "bbox": [
                                        329,
                                        327,
                                        506,
                                        343
                                    ],
                                    "type": "text",
                                    "content": "始 终 代 表 脚 本 名",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        343,
                        505,
                        356
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                342,
                                508,
                                360
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        342,
                                        104,
                                        360
                                    ],
                                    "type": "text",
                                    "content": "变",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        269,
                                        342,
                                        285,
                                        359
                                    ],
                                    "type": "text",
                                    "content": "量",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        451,
                                        343,
                                        508,
                                        359
                                    ],
                                    "type": "text",
                                    "content": "(Variables)",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        359,
                        505,
                        372
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 18,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                358,
                                506,
                                374
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        358,
                                        506,
                                        374
                                    ],
                                    "type": "text",
                                    "content": "函 数 内 使 用 local 声 明 的 变 量 是 局 部 （ Local ） 变 量",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        375,
                        505,
                        387
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 19,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                375,
                                506,
                                387
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        375,
                                        506,
                                        387
                                    ],
                                    "type": "text",
                                    "content": "局 部 变 量 的 作 用 域 是 当 前 函 数 以 及 其 调 用 的 所 有 函 数",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        391,
                        505,
                        403
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 20,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                389,
                                506,
                                405
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        389,
                                        506,
                                        405
                                    ],
                                    "type": "text",
                                    "content": "函 数 内 未 使 用 local 声 明 的 变 量 是 全 局 （ Global ） 变 量",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        406,
                        505,
                        418
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 21,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                405,
                                501,
                                421
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        405,
                                        501,
                                        421
                                    ],
                                    "type": "text",
                                    "content": "即 主 程 序 和 函 数 中 的 同 名 变 量 是 一 个 变 量 （ 地 址 一 致 ）",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        422,
                        505,
                        434
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 22,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                421,
                                505,
                                436
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        421,
                                        505,
                                        436
                                    ],
                                    "type": "text",
                                    "content": "当 函 数 的 最 后 一 条 命 令 执 行 结 束 函 数 即 结 束",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        438,
                        505,
                        449
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 23,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                436,
                                506,
                                451
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        436,
                                        506,
                                        451
                                    ],
                                    "type": "text",
                                    "content": "函 数 的 返 回 值 就 是 最 后 一 条 命 令 的 退 出 码",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        453,
                        505,
                        465
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 24,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                450,
                                508,
                                470
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        450,
                                        461,
                                        470
                                    ],
                                    "type": "text",
                                    "content": "其 返 回 值 被 保 存 在 系 统 变 量",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        461,
                                        454,
                                        475,
                                        466
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 7",
                                    "score": 0.71
                                },
                                {
                                    "bbox": [
                                        476,
                                        450,
                                        508,
                                        470
                                    ],
                                    "type": "text",
                                    "content": "中",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        469,
                        505,
                        481
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 25,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                466,
                                506,
                                484
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        466,
                                        174,
                                        484
                                    ],
                                    "type": "text",
                                    "content": "可 以 使 用",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        200,
                                        469,
                                        235,
                                        482
                                    ],
                                    "type": "text",
                                    "content": "return",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        260,
                                        468,
                                        276,
                                        483
                                    ],
                                    "type": "text",
                                    "content": "或",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        299,
                                        468,
                                        324,
                                        483
                                    ],
                                    "type": "text",
                                    "content": "exit",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        346,
                                        468,
                                        506,
                                        483
                                    ],
                                    "type": "text",
                                    "content": "显 式 地 结 束 函 数",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        485,
                        505,
                        497
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 26,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                483,
                                508,
                                501
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        484,
                                        123,
                                        499
                                    ],
                                    "type": "text",
                                    "content": "return",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        487,
                                        483,
                                        508,
                                        501
                                    ],
                                    "type": "text",
                                    "content": "[N]",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        500,
                        505,
                        513
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 27,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                498,
                                506,
                                516
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        500,
                                        122,
                                        513
                                    ],
                                    "type": "text",
                                    "content": "return",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        187,
                                        498,
                                        204,
                                        515
                                    ],
                                    "type": "text",
                                    "content": "将",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        229,
                                        499,
                                        248,
                                        514
                                    ],
                                    "type": "text",
                                    "content": "结",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        271,
                                        498,
                                        292,
                                        515
                                    ],
                                    "type": "text",
                                    "content": "束",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        318,
                                        499,
                                        333,
                                        514
                                    ],
                                    "type": "text",
                                    "content": "函",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        360,
                                        498,
                                        378,
                                        514
                                    ],
                                    "type": "text",
                                    "content": "数",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        405,
                                        499,
                                        420,
                                        513
                                    ],
                                    "type": "text",
                                    "content": "的",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        447,
                                        498,
                                        465,
                                        516
                                    ],
                                    "type": "text",
                                    "content": "执",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        498,
                                        506,
                                        515
                                    ],
                                    "type": "text",
                                    "content": "行",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        515,
                        505,
                        528
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 28,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                512,
                                508,
                                532
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        512,
                                        201,
                                        532
                                    ],
                                    "type": "text",
                                    "content": "可 以 使 用",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        242,
                                        514,
                                        255,
                                        530
                                    ],
                                    "type": "text",
                                    "content": "N",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        295,
                                        513,
                                        508,
                                        532
                                    ],
                                    "type": "text",
                                    "content": "指 定 函 数 返 回 值",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        532,
                        505,
                        544
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 29,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                530,
                                508,
                                549
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        530,
                                        111,
                                        546
                                    ],
                                    "type": "text",
                                    "content": "exit",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        487,
                                        530,
                                        508,
                                        549
                                    ],
                                    "type": "text",
                                    "content": "[N]",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        547,
                        505,
                        559
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 30,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                544,
                                506,
                                561
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        545,
                                        111,
                                        561
                                    ],
                                    "type": "text",
                                    "content": "exit",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        137,
                                        544,
                                        506,
                                        561
                                    ],
                                    "type": "text",
                                    "content": "将 中 断 当 前 函 数 及 当 前 Shell 的 执 行",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        562,
                        505,
                        575
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 31,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                559,
                                508,
                                579
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        561,
                                        105,
                                        577
                                    ],
                                    "type": "text",
                                    "content": "可",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        114,
                                        560,
                                        186,
                                        578
                                    ],
                                    "type": "text",
                                    "content": "以 使",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        192,
                                        560,
                                        218,
                                        578
                                    ],
                                    "type": "text",
                                    "content": "用",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        271,
                                        561,
                                        284,
                                        577
                                    ],
                                    "type": "text",
                                    "content": "N",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        336,
                                        559,
                                        508,
                                        579
                                    ],
                                    "type": "text",
                                    "content": "指 定 返 回 值",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        577,
                        505,
                        590
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 32,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                576,
                                506,
                                592
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        576,
                                        506,
                                        592
                                    ],
                                    "type": "text",
                                    "content": "使 用 全 局 变 量 引 用 函 数 的 值 不 利 于 结 构 化 编 程",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        593,
                        505,
                        606
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 33,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                591,
                                508,
                                610
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        591,
                                        130,
                                        610
                                    ],
                                    "type": "text",
                                    "content": "使 用",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        161,
                                        593,
                                        196,
                                        608
                                    ],
                                    "type": "text",
                                    "content": "return",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        228,
                                        592,
                                        244,
                                        608
                                    ],
                                    "type": "text",
                                    "content": "或",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        274,
                                        592,
                                        298,
                                        608
                                    ],
                                    "type": "text",
                                    "content": "exit",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        327,
                                        592,
                                        508,
                                        609
                                    ],
                                    "type": "text",
                                    "content": "只 能 返 回 整 数 值",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        608,
                        505,
                        621
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 34,
                    "lines": [
                        {
                            "bbox": [
                                85,
                                606,
                                508,
                                624
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        85,
                                        606,
                                        508,
                                        624
                                    ],
                                    "type": "text",
                                    "content": "使 用 标 准 输 出 实 现 函 数 的 返 回 值",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        624,
                        505,
                        637
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 35,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                624,
                                505,
                                637
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        624,
                                        505,
                                        637
                                    ],
                                    "type": "text",
                                    "content": "是 一 种 通 用 的 方 法 ， 既 能 返 回 整 数 又 能 返 回 字 符 串",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        640,
                        505,
                        652
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 36,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                640,
                                506,
                                654
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        640,
                                        506,
                                        654
                                    ],
                                    "type": "text",
                                    "content": "函 数 结 束 前 使 用 echo 命 令 将 结 果 显 示 到 标 准 输 出",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        655,
                        505,
                        667
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 37,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                655,
                                506,
                                668
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        655,
                                        478,
                                        668
                                    ],
                                    "type": "text",
                                    "content": "调用函数时使用如下的格式将函数的输出结果存到变量 RES 中，之后便可使用变量",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        479,
                                        655,
                                        506,
                                        668
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 123",
                                    "score": 0.76
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        671,
                        499,
                        684
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 38,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                669,
                                499,
                                685
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        669,
                                        499,
                                        685
                                    ],
                                    "type": "text",
                                    "content": "的 值 （ 或 输 出 、 或 执 行 测 试 、 或 进 一 步 处 理 等 ）",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        687,
                        198,
                        699
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 39,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                684,
                                198,
                                703
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        687,
                                        120,
                                        699
                                    ],
                                    "type": "inline_equation",
                                    "content": "R E S { = } \\$ ",
                                    "score": 0.74
                                },
                                {
                                    "bbox": [
                                        120,
                                        684,
                                        198,
                                        703
                                    ],
                                    "type": "text",
                                    "content": "(functionName)",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        703,
                        114,
                        714
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 40,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                701,
                                116,
                                717
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        701,
                                        116,
                                        717
                                    ],
                                    "type": "text",
                                    "content": "echo",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        478,
                        703,
                        505,
                        714
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 41,
                    "lines": [
                        {
                            "bbox": [
                                477,
                                702,
                                508,
                                718
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        477,
                                        702,
                                        508,
                                        718
                                    ],
                                    "type": "text",
                                    "content": "$RES",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 44
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        86,
                        121,
                        505,
                        151
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                121,
                                506,
                                137
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        121,
                                        506,
                                        137
                                    ],
                                    "type": "text",
                                    "content": "Ken Thompson 的 sh 是第一种 Unix Shell，Windows Explorer 是一个典型的图形界面",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                86,
                                136,
                                121,
                                153
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        136,
                                        121,
                                        153
                                    ],
                                    "type": "text",
                                    "content": "Shell。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        168,
                        453,
                        182
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                169,
                                453,
                                182
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        169,
                                        453,
                                        182
                                    ],
                                    "type": "text",
                                    "content": "当命令不在命令行中执行，而是从一个文件中执行时，该文件就称为shell脚本",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        185,
                        200,
                        198
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                185,
                                200,
                                199
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        185,
                                        200,
                                        199
                                    ],
                                    "type": "text",
                                    "content": "Shell 脚本是纯文本文件",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        200,
                        169,
                        213
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                199,
                                170,
                                215
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        199,
                                        170,
                                        215
                                    ],
                                    "type": "text",
                                    "content": ".sh 为文件后缀名",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        246,
                        353,
                        260
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                247,
                                352,
                                260
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        247,
                                        352,
                                        260
                                    ],
                                    "type": "text",
                                    "content": "以行为单位，执行脚本的时候会分解成一行一行依次执行",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        262,
                        252,
                        275
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                263,
                                253,
                                275
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        263,
                                        253,
                                        275
                                    ],
                                    "type": "text",
                                    "content": "Shell 是一种功能强大的解释型语言",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        278,
                        121,
                        290
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                278,
                                123,
                                293
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        278,
                                        123,
                                        293
                                    ],
                                    "type": "text",
                                    "content": "通常用",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        293,
                        195,
                        306
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                292,
                                195,
                                307
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        292,
                                        195,
                                        307
                                    ],
                                    "type": "text",
                                    "content": "变量、数组、输入输出",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        309,
                        132,
                        322
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                309,
                                133,
                                323
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        309,
                                        133,
                                        323
                                    ],
                                    "type": "text",
                                    "content": "控制结构",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        325,
                        168,
                        338
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                325,
                                168,
                                338
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        325,
                                        168,
                                        338
                                    ],
                                    "type": "text",
                                    "content": "Shell脚本的建立",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        340,
                        139,
                        354
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                338,
                                141,
                                356
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        338,
                                        141,
                                        356
                                    ],
                                    "type": "text",
                                    "content": "Vim script",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        355,
                        239,
                        370
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                354,
                                240,
                                371
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        354,
                                        240,
                                        371
                                    ],
                                    "type": "text",
                                    "content": "Chomod +x(exectue) script-file",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        371,
                        296,
                        385
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 12,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                371,
                                296,
                                385
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        371,
                                        296,
                                        385
                                    ],
                                    "type": "text",
                                    "content": "以#！开头：通知系统用何解释器执行此脚本",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        387,
                        146,
                        398
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 13,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                387,
                                148,
                                400
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        387,
                                        148,
                                        400
                                    ],
                                    "type": "text",
                                    "content": "#!/bin/bash",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        402,
                        191,
                        415
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 14,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                402,
                                192,
                                416
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        402,
                                        192,
                                        416
                                    ],
                                    "type": "text",
                                    "content": "#脚本名称、脚本功能",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        418,
                        223,
                        431
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 15,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                418,
                                224,
                                433
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        418,
                                        224,
                                        433
                                    ],
                                    "type": "text",
                                    "content": "在 bash 调用脚本时使用参数",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        91,
                        433,
                        213,
                        447
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                91,
                                433,
                                213,
                                449
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        91,
                                        433,
                                        99,
                                        446
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 1",
                                    "score": 0.58
                                },
                                {
                                    "bbox": [
                                        99,
                                        433,
                                        213,
                                        449
                                    ],
                                    "type": "text",
                                    "content": "bash [-x] [-n] [-v] name",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        449,
                        132,
                        462
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                449,
                                133,
                                464
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        449,
                                        133,
                                        464
                                    ],
                                    "type": "text",
                                    "content": "在脚本中",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        465,
                        144,
                        477
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 18,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                464,
                                145,
                                479
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        464,
                                        145,
                                        479
                                    ],
                                    "type": "text",
                                    "content": "Sh-x 脚本名",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        481,
                        147,
                        493
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 19,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                481,
                                148,
                                494
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        481,
                                        148,
                                        494
                                    ],
                                    "type": "text",
                                    "content": "Shell 的功能",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        496,
                        215,
                        509
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 20,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                496,
                                215,
                                510
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        496,
                                        215,
                                        510
                                    ],
                                    "type": "text",
                                    "content": "各种管理和监视命令的使用",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        512,
                        239,
                        524
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 21,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                512,
                                239,
                                525
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        512,
                                        239,
                                        525
                                    ],
                                    "type": "text",
                                    "content": "Ebal对参数进行两次扫描和替换",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        527,
                        505,
                        540
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 22,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                528,
                                505,
                                540
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        528,
                                        505,
                                        540
                                    ],
                                    "type": "text",
                                    "content": "将所有的参数链接诚意表达式，ving计算或执行限该白澳大使】参数中的任何变量的将被",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        543,
                        111,
                        555
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 23,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                543,
                                113,
                                559
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        543,
                                        113,
                                        559
                                    ],
                                    "type": "text",
                                    "content": "展开",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        559,
                        205,
                        571
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 24,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                558,
                                205,
                                572
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        558,
                                        205,
                                        572
                                    ],
                                    "type": "text",
                                    "content": "各种文本文件工具的使用",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        574,
                        152,
                        587
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 25,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                574,
                                154,
                                588
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        574,
                                        154,
                                        588
                                    ],
                                    "type": "text",
                                    "content": "变量和表达式",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        590,
                        152,
                        602
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 26,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                590,
                                154,
                                602
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        590,
                                        154,
                                        602
                                    ],
                                    "type": "text",
                                    "content": "变量替换扩展",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        620,
                        132,
                        634
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 27,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                620,
                                133,
                                634
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        620,
                                        133,
                                        634
                                    ],
                                    "type": "text",
                                    "content": "变量测试",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        636,
                        174,
                        649
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 28,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                637,
                                174,
                                649
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        637,
                                        174,
                                        649
                                    ],
                                    "type": "text",
                                    "content": "变量的字符串操作",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        652,
                        143,
                        664
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 29,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                652,
                                143,
                                666
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        652,
                                        143,
                                        666
                                    ],
                                    "type": "text",
                                    "content": "计数、截取",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        667,
                        163,
                        680
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 30,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                668,
                                163,
                                680
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        668,
                                        163,
                                        680
                                    ],
                                    "type": "text",
                                    "content": "变量的间接引用",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        683,
                        230,
                        696
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 31,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                683,
                                232,
                                697
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        683,
                                        232,
                                        697
                                    ],
                                    "type": "text",
                                    "content": "通过str2的值来引用str1的值",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        699,
                        152,
                        711
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 32,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                698,
                                154,
                                713
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        698,
                                        154,
                                        713
                                    ],
                                    "type": "text",
                                    "content": "位置参数变量",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        714,
                        155,
                        727
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 33,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                714,
                                156,
                                729
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        714,
                                        156,
                                        729
                                    ],
                                    "type": "text",
                                    "content": "Shit 参数 【0】",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        730,
                        101,
                        741
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 34,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                729,
                                102,
                                742
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        729,
                                        102,
                                        742
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 7",
                                    "score": 0.51
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        89,
                        746,
                        108,
                        757
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 35,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                745,
                                110,
                                760
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        745,
                                        110,
                                        760
                                    ],
                                    "type": "text",
                                    "content": "Exit",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 45
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        88,
                        94,
                        164,
                        107
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                95,
                                164,
                                108
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        95,
                                        164,
                                        108
                                    ],
                                    "type": "text",
                                    "content": "命令行参数相关",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        110,
                        141,
                        122
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                110,
                                142,
                                124
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        110,
                                        142,
                                        124
                                    ],
                                    "type": "text",
                                    "content": "0 执行正确",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        126,
                        141,
                        137
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                126,
                                142,
                                139
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        126,
                                        142,
                                        139
                                    ],
                                    "type": "text",
                                    "content": "1 通用错误",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        142,
                        214,
                        153
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                142,
                                215,
                                154
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        142,
                                        215,
                                        154
                                    ],
                                    "type": "text",
                                    "content": "2 命令或脚本没有执行权限",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        157,
                        163,
                        169
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                156,
                                164,
                                171
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        156,
                                        164,
                                        171
                                    ],
                                    "type": "text",
                                    "content": "127 命令没找到",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        173,
                        167,
                        184
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                171,
                                168,
                                186
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        171,
                                        126,
                                        186
                                    ],
                                    "type": "text",
                                    "content": "Chmod",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        126,
                                        173,
                                        168,
                                        184
                                    ],
                                    "type": "inline_equation",
                                    "content": "+ x + w + r",
                                    "score": 0.77
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        188,
                        242,
                        200
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                188,
                                243,
                                200
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        188,
                                        243,
                                        200
                                    ],
                                    "type": "text",
                                    "content": "Read从键盘输入内容为变量赋值",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        204,
                        114,
                        215
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                203,
                                117,
                                218
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        203,
                                        117,
                                        218
                                    ],
                                    "type": "text",
                                    "content": "Read",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        219,
                        215,
                        232
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                220,
                                216,
                                232
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        220,
                                        216,
                                        232
                                    ],
                                    "type": "text",
                                    "content": "结合不同的引号为变量赋值",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        235,
                        136,
                        248
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                232,
                                138,
                                250
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        232,
                                        138,
                                        250
                                    ],
                                    "type": "text",
                                    "content": "Readonly",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        91,
                        250,
                        301,
                        263
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                91,
                                250,
                                301,
                                264
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        91,
                                        250,
                                        301,
                                        264
                                    ],
                                    "type": "text",
                                    "content": "多行内容不能出现双引号，否则用转义字符\\“",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        266,
                        135,
                        278
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                87,
                                264,
                                138,
                                280
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        87,
                                        264,
                                        138,
                                        280
                                    ],
                                    "type": "text",
                                    "content": "Head_file",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        281,
                        152,
                        294
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 12,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                282,
                                154,
                                295
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        282,
                                        154,
                                        295
                                    ],
                                    "type": "text",
                                    "content": "进程参数相关",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        297,
                        118,
                        308
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 13,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                296,
                                120,
                                311
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        296,
                                        120,
                                        311
                                    ],
                                    "type": "text",
                                    "content": "Printf",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        312,
                        246,
                        325
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 14,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                313,
                                247,
                                327
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        313,
                                        247,
                                        327
                                    ],
                                    "type": "text",
                                    "content": "Let 不必架空客，否则加上反引号",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        328,
                        166,
                        341
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 15,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                327,
                                167,
                                343
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        327,
                                        167,
                                        343
                                    ],
                                    "type": "text",
                                    "content": "Expr 必须加空格",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        344,
                        160,
                        357
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 16,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                343,
                                161,
                                359
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        343,
                                        161,
                                        359
                                    ],
                                    "type": "text",
                                    "content": "$[expression]/",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        359,
                        167,
                        371
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                359,
                                170,
                                374
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        359,
                                        170,
                                        374
                                    ],
                                    "type": "text",
                                    "content": "Eval newstr=\\$$",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        375,
                        280,
                        388
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 18,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                374,
                                282,
                                391
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        374,
                                        282,
                                        391
                                    ],
                                    "type": "text",
                                    "content": "${var :-word}/${var:=word}/${var:?wor}",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        391,
                        132,
                        402
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 19,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                390,
                                133,
                                405
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        390,
                                        133,
                                        405
                                    ],
                                    "type": "text",
                                    "content": "数组变量",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        406,
                        152,
                        417
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 20,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                406,
                                154,
                                420
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        406,
                                        154,
                                        420
                                    ],
                                    "type": "text",
                                    "content": "小标从0开始",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        422,
                        266,
                        434
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 21,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                422,
                                267,
                                436
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        422,
                                        168,
                                        436
                                    ],
                                    "type": "text",
                                    "content": "Declare variable",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        168,
                                        424,
                                        174,
                                        433
                                    ],
                                    "type": "inline_equation",
                                    "content": "=",
                                    "score": 0.65
                                },
                                {
                                    "bbox": [
                                        175,
                                        422,
                                        267,
                                        436
                                    ],
                                    "type": "text",
                                    "content": "value 用来声明变量",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        438,
                        161,
                        449
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 22,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                438,
                                162,
                                450
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        438,
                                        162,
                                        450
                                    ],
                                    "type": "text",
                                    "content": "Unset variable",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        453,
                        244,
                        465
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 23,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                451,
                                245,
                                468
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        451,
                                        245,
                                        468
                                    ],
                                    "type": "text",
                                    "content": "Echo $variable echo ${variable}",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        484,
                        163,
                        497
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 24,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                485,
                                163,
                                497
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        485,
                                        163,
                                        497
                                    ],
                                    "type": "text",
                                    "content": "变量的数值计算",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        500,
                        113,
                        513
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 25,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                497,
                                116,
                                518
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        497,
                                        116,
                                        518
                                    ],
                                    "type": "text",
                                    "content": "Expr",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        515,
                        111,
                        528
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 26,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                513,
                                113,
                                531
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        513,
                                        113,
                                        531
                                    ],
                                    "type": "text",
                                    "content": "输入",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        531,
                        120,
                        543
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 27,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                530,
                                123,
                                546
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        530,
                                        123,
                                        546
                                    ],
                                    "type": "text",
                                    "content": "变量名",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        547,
                        111,
                        559
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 28,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                545,
                                113,
                                563
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        545,
                                        113,
                                        563
                                    ],
                                    "type": "text",
                                    "content": "输出",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        563,
                        144,
                        575
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 29,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                560,
                                146,
                                576
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        560,
                                        146,
                                        576
                                    ],
                                    "type": "text",
                                    "content": "Echo printf",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        578,
                        176,
                        589
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 30,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                576,
                                176,
                                591
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        576,
                                        176,
                                        591
                                    ],
                                    "type": "text",
                                    "content": "for variable in list",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        593,
                        349,
                        606
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 31,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                592,
                                350,
                                608
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        592,
                                        350,
                                        608
                                    ],
                                    "type": "text",
                                    "content": "每一次循环，依次把列表 list 中的一个值赋值给循环变量",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        609,
                        248,
                        621
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 32,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                608,
                                248,
                                624
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        608,
                                        248,
                                        624
                                    ],
                                    "type": "text",
                                    "content": "使用字面字符串列表作为 wordlist",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        624,
                        279,
                        637
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 33,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                624,
                                279,
                                638
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        624,
                                        279,
                                        638
                                    ],
                                    "type": "text",
                                    "content": "若列表项中包含空格必须使用引号括起来",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        640,
                        141,
                        652
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 34,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                640,
                                143,
                                654
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        640,
                                        143,
                                        654
                                    ],
                                    "type": "text",
                                    "content": "While 循环",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        655,
                        129,
                        667
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 35,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                655,
                                131,
                                670
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        655,
                                        131,
                                        670
                                    ],
                                    "type": "text",
                                    "content": "For 循环",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        671,
                        137,
                        683
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 36,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                671,
                                139,
                                685
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        671,
                                        139,
                                        685
                                    ],
                                    "type": "text",
                                    "content": "Until 循环",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        687,
                        187,
                        699
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 37,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                687,
                                188,
                                700
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        687,
                                        188,
                                        700
                                    ],
                                    "type": "text",
                                    "content": "Done&后台执行循环",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        703,
                        365,
                        714
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 38,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                702,
                                366,
                                717
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        702,
                                        366,
                                        717
                                    ],
                                    "type": "text",
                                    "content": "Tumx 可以在后台打开，不会因为 terminal 断开而断开连接",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        718,
                        262,
                        729
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 39,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                718,
                                263,
                                731
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        718,
                                        263,
                                        731
                                    ],
                                    "type": "text",
                                    "content": "一般地使用while 循坏配合case实现",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        734,
                        190,
                        745
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 40,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                734,
                                191,
                                747
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        734,
                                        191,
                                        747
                                    ],
                                    "type": "text",
                                    "content": "Base 提供 select 循环",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        749,
                        350,
                        761
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 41,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                749,
                                350,
                                763
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        749,
                                        350,
                                        763
                                    ],
                                    "type": "text",
                                    "content": "按数值顺序排列的菜单项（list item）会显示到标准错误",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 46
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        88,
                        79,
                        186,
                        92
                    ],
                    "type": "title",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                79,
                                185,
                                92
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        79,
                                        185,
                                        92
                                    ],
                                    "type": "text",
                                    "content": "位置参数和控制参数",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        110,
                        348,
                        124
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                109,
                                348,
                                126
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        109,
                                        348,
                                        126
                                    ],
                                    "type": "text",
                                    "content": "Shell 的内置命令 getopts 可以识别所有常见的选项格式",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        125,
                        273,
                        139
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 2,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                125,
                                273,
                                142
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        125,
                                        273,
                                        142
                                    ],
                                    "type": "text",
                                    "content": "Gtopts OPTSTRING VARNAME [ARGS]",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        141,
                        138,
                        154
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                139,
                                139,
                                158
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        139,
                                        139,
                                        158
                                    ],
                                    "type": "text",
                                    "content": "Optstirng",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        156,
                        311,
                        169
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                157,
                                310,
                                170
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        157,
                                        310,
                                        170
                                    ],
                                    "type": "text",
                                    "content": "是哦有若干有效的选项标识符组成的选项字符串",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        172,
                        332,
                        185
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                173,
                                332,
                                186
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        173,
                                        332,
                                        186
                                    ],
                                    "type": "text",
                                    "content": "若某选项标识符后又冒号，则表示此选项又附加参数",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        188,
                        311,
                        201
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 6,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                188,
                                311,
                                202
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        188,
                                        311,
                                        202
                                    ],
                                    "type": "text",
                                    "content": "若整个字符串前又冒号，将使用安静的错误模式",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        203,
                        303,
                        216
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 7,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                203,
                                303,
                                217
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        203,
                                        303,
                                        217
                                    ],
                                    "type": "text",
                                    "content": "Varnmae：每次匹配成功的选项保存在变量中",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        219,
                        137,
                        232
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 8,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                218,
                                139,
                                233
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        218,
                                        139,
                                        233
                                    ],
                                    "type": "text",
                                    "content": "默认为$@",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        235,
                        261,
                        248
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 9,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                234,
                                262,
                                250
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        234,
                                        262,
                                        250
                                    ],
                                    "type": "text",
                                    "content": "Getopts 不能解析 GNU -style 长参数",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        250,
                        429,
                        264
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 10,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                250,
                                430,
                                264
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        250,
                                        430,
                                        264
                                    ],
                                    "type": "text",
                                    "content": "Getopts 从不改变原始位置参数，若希望移动位置参数，需手工执行shift",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        266,
                        226,
                        280
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 11,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                265,
                                227,
                                282
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        265,
                                        227,
                                        282
                                    ],
                                    "type": "text",
                                    "content": "Getopts 会自动对变量 optnd",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        281,
                        180,
                        294
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 12,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                282,
                                181,
                                295
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        282,
                                        181,
                                        295
                                    ],
                                    "type": "text",
                                    "content": "合理使用shell函数",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        297,
                        245,
                        357
                    ],
                    "type": "list",
                    "angle": 0,
                    "index": 16,
                    "blocks": [
                        {
                            "bbox": [
                                88,
                                297,
                                245,
                                310
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 13,
                            "lines": [
                                {
                                    "bbox": [
                                        89,
                                        297,
                                        245,
                                        311
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                89,
                                                297,
                                                245,
                                                311
                                            ],
                                            "type": "text",
                                            "content": "1、简化程序代码，实现代码重用",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                87,
                                328,
                                182,
                                341
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 14,
                            "lines": [
                                {
                                    "bbox": [
                                        88,
                                        328,
                                        182,
                                        342
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                88,
                                                328,
                                                182,
                                                342
                                            ],
                                            "type": "text",
                                            "content": "2、实现结构化编程",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "bbox": [
                                88,
                                343,
                                171,
                                357
                            ],
                            "type": "text",
                            "angle": 0,
                            "index": 15,
                            "lines": [
                                {
                                    "bbox": [
                                        88,
                                        344,
                                        172,
                                        357
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                88,
                                                344,
                                                172,
                                                357
                                            ],
                                            "type": "text",
                                            "content": "3、提高执行效率",
                                            "score": 1.0
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "sub_type": "text"
                },
                {
                    "bbox": [
                        87,
                        375,
                        190,
                        387
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 17,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                375,
                                191,
                                389
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        375,
                                        191,
                                        389
                                    ],
                                    "type": "text",
                                    "content": "Function commands",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        391,
                        111,
                        402
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 18,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                389,
                                114,
                                407
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        389,
                                        114,
                                        407
                                    ],
                                    "type": "text",
                                    "content": "参数",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        406,
                        321,
                        419
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 19,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                407,
                                321,
                                419
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        407,
                                        321,
                                        419
                                    ],
                                    "type": "text",
                                    "content": "调用函数时，使用位置参数的形式位函数传递参数",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        422,
                        265,
                        435
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 20,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                421,
                                265,
                                436
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        421,
                                        130,
                                        436
                                    ],
                                    "type": "text",
                                    "content": "函数内的",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        131,
                                        422,
                                        202,
                                        435
                                    ],
                                    "type": "inline_equation",
                                    "content": "\\$ 1-\\$ 12",
                                    "score": 0.84
                                },
                                {
                                    "bbox": [
                                        202,
                                        421,
                                        265,
                                        436
                                    ],
                                    "type": "text",
                                    "content": "都是位置参数",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        453,
                        243,
                        465
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 21,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                454,
                                243,
                                467
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        454,
                                        243,
                                        467
                                    ],
                                    "type": "text",
                                    "content": "Return 或者 exir 只能返回整数值",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        468,
                        237,
                        481
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 22,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                469,
                                237,
                                481
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        469,
                                        237,
                                        481
                                    ],
                                    "type": "text",
                                    "content": "使用标准输出实现函数的返回值",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        484,
                        142,
                        497
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 23,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                484,
                                143,
                                498
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        484,
                                        143,
                                        498
                                    ],
                                    "type": "text",
                                    "content": "函数结束前",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        500,
                        140,
                        513
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 24,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                498,
                                141,
                                515
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        498,
                                        141,
                                        515
                                    ],
                                    "type": "text",
                                    "content": "Sysinfo.sh",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        88,
                        515,
                        131,
                        528
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 25,
                    "lines": [
                        {
                            "bbox": [
                                86,
                                513,
                                133,
                                533
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        513,
                                        133,
                                        533
                                    ],
                                    "type": "text",
                                    "content": "Sysinfo_",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        87,
                        530,
                        178,
                        544
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 26,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                531,
                                178,
                                544
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        531,
                                        178,
                                        544
                                    ],
                                    "type": "text",
                                    "content": "标准输入/输出设备",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        545,
                        498,
                        560
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 27,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                546,
                                499,
                                560
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        546,
                                        499,
                                        560
                                    ],
                                    "type": "text",
                                    "content": "Linux命令在执行时常常期望接收输入数据，命令执行后又期望将产生的数据结果输出。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        562,
                        499,
                        576
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 28,
                    "lines": [
                        {
                            "bbox": [
                                88,
                                561,
                                500,
                                576
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        88,
                                        561,
                                        500,
                                        576
                                    ],
                                    "type": "text",
                                    "content": "Linux 的 大 部 分 命 令 都 具 有 标 准 的 输 入 / 输 出 设 备 端 口 。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "table",
                    "bbox": [
                        88,
                        591,
                        594,
                        718
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                88,
                                591,
                                594,
                                718
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        88,
                                        591,
                                        594,
                                        718
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                88,
                                                591,
                                                594,
                                                718
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>名称</td><td>文件描述符</td><td>含义</td><td>设备</td><td>说明</td></tr><tr><td>STDIN</td><td>0</td><td>标准输入</td><td>键盘</td><td>命令在执行时所要的输入通过它来取得</td></tr><tr><td>STDOUT</td><td>1</td><td>标准输出</td><td>显示器</td><td>命令执行后的输出结果从该端口送出</td></tr><tr><td>STDERR</td><td>2</td><td>标准错误</td><td>显示器</td><td>命令执行时的错误信息通过该端口送出</td></tr></table>",
                                            "image_path": "b7661213680e3ff117ddcc2c70c46427fd4ac9ca78bb4ddd9c953bfaac41201e.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 29,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 29
                },
                {
                    "bbox": [
                        86,
                        721,
                        506,
                        751
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 30,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                721,
                                505,
                                735
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        721,
                                        505,
                                        735
                                    ],
                                    "type": "text",
                                    "content": "所谓重定向，就是不使用系统的标准输入端口、标准输出端口或标准错误端口，而进行重",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                89,
                                738,
                                504,
                                749
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        738,
                                        504,
                                        749
                                    ],
                                    "type": "text",
                                    "content": "新的指定，所以重定向分为输出重定向、输入重定向和错误重定向。通常情况下重定向到",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 47
        },
        {
            "para_blocks": [
                {
                    "bbox": [
                        86,
                        79,
                        500,
                        92
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 0,
                    "lines": [
                        {
                            "bbox": [
                                188,
                                76,
                                499,
                                96
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        188,
                                        76,
                                        205,
                                        96
                                    ],
                                    "type": "text",
                                    "content": "个",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        288,
                                        77,
                                        306,
                                        96
                                    ],
                                    "type": "text",
                                    "content": "文",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        390,
                                        77,
                                        406,
                                        95
                                    ],
                                    "type": "text",
                                    "content": "件",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        493,
                                        85,
                                        499,
                                        92
                                    ],
                                    "type": "text",
                                    "content": "。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        86,
                        94,
                        505,
                        123
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 1,
                    "lines": [
                        {
                            "bbox": [
                                89,
                                95,
                                505,
                                108
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        89,
                                        95,
                                        505,
                                        108
                                    ],
                                    "type": "text",
                                    "content": "在Shell中，要实现重定向主要依靠重定向符实现，即 Shell是检查命令行中有无重定向符",
                                    "score": 1.0
                                }
                            ]
                        },
                        {
                            "bbox": [
                                86,
                                108,
                                499,
                                125
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        86,
                                        108,
                                        474,
                                        125
                                    ],
                                    "type": "text",
                                    "content": "来 决 定 是 否 需 要 实 施 重 定 向",
                                    "score": 1.0
                                },
                                {
                                    "bbox": [
                                        491,
                                        116,
                                        499,
                                        123
                                    ],
                                    "type": "text",
                                    "content": "。",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "table",
                    "bbox": [
                        88,
                        139,
                        595,
                        727
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                88,
                                139,
                                595,
                                727
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        88,
                                        139,
                                        595,
                                        727
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                88,
                                                139,
                                                595,
                                                727
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>重定向符</td><td>说明</td></tr><tr><td>&lt;</td><td>输入重定向</td></tr><tr><td>&lt;&lt;!</td><td>输入重定向的特例,即HERE文件,通常用于Shell脚本中。其中“!”可以仅只要其没在……中出现过即可。</td></tr><tr><td>!</td><td></td></tr><tr><td>&gt;</td><td>覆盖式的输出重定向</td></tr><tr><td>&gt;&gt;</td><td>追加式的输出重定向</td></tr><tr><td>2&gt;</td><td>覆盖式的错误输出重定向</td></tr><tr><td>2&gt;&gt;</td><td>追加式的错误输出重定向</td></tr><tr><td>&amp;&gt;</td><td>同时实现输出重定向和错误重定向(覆盖式)</td></tr><tr><td colspan=\"2\">空 设 备 (/dev/null)</td></tr><tr><td colspan=\"2\">空 设 备 是 个 黑 洞,发 往 它 的 任 何 内 容 都 将 不 复 存 在</td></tr><tr><td colspan=\"2\">经常 用于 屏 蔽 命 令 的 输 出 或 错 误 输出,尤其用于 Shell 脚 本 中</td></tr><tr><td colspan=\"2\">空 设 备 使 用 举 例</td></tr><tr><td colspan=\"2\">屏蔽 命 令 的 输 出 和 错 误 输 出 /dev/null</td></tr><tr><td colspan=\"2\">$ myprogram &amp;&gt;/dev/null</td></tr><tr><td colspan=\"2\">$ myprogram &gt;/dev/null 2&gt;&amp;1</td></tr><tr><td colspan=\"2\">清 空 文 件 内 容</td></tr><tr><td colspan=\"2\">$ cp /dev/null myfile</td></tr><tr><td colspan=\"2\">$ &gt; myfile</td></tr><tr><td colspan=\"2\">命令替换</td></tr><tr><td colspan=\"2\">使用 命 令 的 输 出 ,常 用 于</td></tr><tr><td colspan=\"2\">在 文 本 中 嵌 入 命 令 的 执 行 结 果</td></tr><tr><td colspan=\"2\">命令 参 数 是 另 一 个 命 令 执 行 的 结 果</td></tr><tr><td colspan=\"2\">使 用 方 法</td></tr><tr><td colspan=\"2\">$(command) 或 `command`</td></tr><tr><td colspan=\"2\">cmd1 $(cmd2) 或 cmd1 `cmd2`</td></tr><tr><td colspan=\"2\">使 用 举 例</td></tr><tr><td colspan=\"2\">$ echo The present time is `date`</td></tr><tr><td colspan=\"2\">$ rpm -qi $(rpm -qf $(which date)) # 嵌 套</td></tr><tr><td colspan=\"2\">命令组合</td></tr></table>",
                                            "image_path": "ae8a233e1f7347f880789d75f607096032d0d4e3b8e13b814b8ce88f9fa05796.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 2,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 2
                },
                {
                    "bbox": [
                        94,
                        734,
                        150,
                        748
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 3,
                    "lines": [
                        {
                            "bbox": [
                                93,
                                732,
                                152,
                                750
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        93,
                                        732,
                                        152,
                                        750
                                    ],
                                    "type": "text",
                                    "content": "命令行形式",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        299,
                        734,
                        323,
                        747
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 4,
                    "lines": [
                        {
                            "bbox": [
                                297,
                                731,
                                326,
                                749
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        297,
                                        731,
                                        326,
                                        749
                                    ],
                                    "type": "text",
                                    "content": "说明",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                },
                {
                    "bbox": [
                        527,
                        734,
                        550,
                        747
                    ],
                    "type": "text",
                    "angle": 0,
                    "index": 5,
                    "lines": [
                        {
                            "bbox": [
                                525,
                                731,
                                552,
                                749
                            ],
                            "spans": [
                                {
                                    "bbox": [
                                        525,
                                        731,
                                        552,
                                        749
                                    ],
                                    "type": "text",
                                    "content": "举例",
                                    "score": 1.0
                                }
                            ]
                        }
                    ]
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 48
        },
        {
            "para_blocks": [
                {
                    "type": "table",
                    "bbox": [
                        88,
                        76,
                        595,
                        239
                    ],
                    "blocks": [
                        {
                            "bbox": [
                                88,
                                76,
                                595,
                                239
                            ],
                            "lines": [
                                {
                                    "bbox": [
                                        88,
                                        76,
                                        595,
                                        239
                                    ],
                                    "spans": [
                                        {
                                            "bbox": [
                                                88,
                                                76,
                                                595,
                                                239
                                            ],
                                            "type": "table",
                                            "html": "<table><tr><td>CMD1; CMD2</td><td>顺序执行若干命令</td><td>pwd;date;ls</td></tr><tr><td>CMD1 &amp;&amp; CMD2</td><td>当CMD1运行成功时才运行CMD2</td><td>gzip mylargef</td></tr><tr><td>CMD1 || CMD2</td><td>当CMD1运行失败时才运行CMD2</td><td>write osmonc\nmy.log</td></tr><tr><td>(CMDLIST)</td><td>在子Shell中执行命令序列</td><td>(date; who | v)</td></tr><tr><td>{CMDLIST}</td><td>在当前Shell中执行命令序列</td><td>{cd /home/jjh}</td></tr></table>",
                                            "image_path": "1b2f5d09e741800ebdacbd78c268f11db67f138c98b9c31c6dd02f44ada08cbf.jpg"
                                        }
                                    ]
                                }
                            ],
                            "index": 0,
                            "angle": 0,
                            "type": "table_body"
                        }
                    ],
                    "index": 0
                }
            ],
            "discarded_blocks": [],
            "page_size": [
                595,
                841
            ],
            "page_idx": 49
        }
    ],
    "_backend": "hybrid",
    "_ocr_enable": false,
    "_vlm_ocr_enable": false,
    "_version_name": "2.7.6"
}