📌  相关文章
📜  bash 替换文件中的特定行 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:58.758000             🧑  作者: Mango

代码示例1
# Basic syntax:
sed 's/.*//' your_file
# Where:
#    - The row_number is the row your want to replace with the
#        replacement_text
#    - .* means match anything on that row (so it can be replaced)