# 第五部分 高级话题

## 目录

* [18.正则表达式](/shell/part5/18_regular_expressions.md)
  * [18.1正则表达式简介](/shell/part5/18_regular_expressions/18_1_a_brief_introduction_to_regular_expressions.md)
  * [18.2文件名替换](/shell/part5/18_regular_expressions/18_2_globbing.md)
* [19. 嵌入文档](/shell/part5/19_here_documents.md)
* [20. I/O 重定向](/shell/part5/20_io_redirection.md)
  * [20.1 使用 exec](/shell/part5/20_io_redirection/20_1_use_exec.md)
  * [20.2 重定向代码块](/shell/part5/20_io_redirection/20_2_redirecting_code_blocks.md)
  * [20.3 应用程序](/shell/part5/20_io_redirection/20_3_applications.md)
* [22. 限制模式的Shell](/shell/part5/22_restricted_shells.md)
* [23. 进程替换](/shell/part5/23_process_substitution.md)
* [24. 函数](/shell/part5/24_functions.md)
  * [24.1 复杂函数和函数复杂性](/shell/part5/24_functions/24_1_complex_functions_and_function_complexities.md)
  * [24.2 局部变量](/shell/part5/24_functions/24_2_local_variables.md)
  * [24.3 不适用局部变量的递归](/shell/part5/24_functions/24_3_recursion_without_local_variables.md)
* [25. 别名](/shell/part5/25_aliases.md)
* [26. 列表结构](https://github.com/clay-wangzhi/wiki/tree/d3404540485e5680629ad816b22dd0ff9045a24e/2%20shell/part5/source/part5/26_List_Constructs.md)
* [27. 数组](/shell/part5/27_arrays.md)
* [30. 网络编程](/shell/part5/30_network_programming.md)
* [33. 选项](/shell/part5/33_options.md)
* [34. 陷阱](https://github.com/clay-wangzhi/wiki/tree/d3404540485e5680629ad816b22dd0ff9045a24e/2%20shell/part5/34_Gotchsa.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.clay-wangzhi.com/shell/part5.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
