technology/linux/general/sed.md
... ...
@@ -4,3 +4,8 @@ print specific line number from file
4 4
```
5 5
sed 'n!d' file
6 6
```
7
+
8
+add character
9
+```
10
+s/regex/&n/
11
+```