# 从文件中删除所有以 # 开头的行 - Delete all lines beginning with a # from a file

10/14 02:17

### 问题：

All of the lines with comments in a file begin with # .文件中所有带有注释的行都以#开头。 How can I delete all of the lines (and only those lines) which begin with # ?如何删除所有以#开头的行（并且只有那些行）？ Other lines containing # , but not at the beginning of the line should be ignored.其他包含# ，但不在行首的行应该被忽略。

0
0 收藏

0 评论
0 收藏
0