We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ff0436 commit 7779200Copy full SHA for 7779200
coat
@@ -3,7 +3,7 @@
3
# cat lines colorfully. coat means *CO*lorful c*AT*.
4
#
5
# @Usage
6
-# $ echo -n 'Hello\nWorld' | coat
+# $ echo -e 'Hello\nWorld' | coat
7
# $ coat /path/to/file1
8
# $ coat /path/to/file1 /path/to/file2
9
docs/shell.md
@@ -116,14 +116,14 @@ Options:
116
### 示例
117
118
```bash
119
-$ echo a | coat
120
-a
121
-$ echo -e 'a\nb' | coat
122
123
-b
124
-$ echo -e 'a\nb' | nl | coat
125
-1 a
126
-2 b
+$ echo Hello world | coat
+Hello world
+$ echo -e 'Hello\nWorld' | coat
+Hello
+World
+$ echo -e 'Hello\nWorld' | nl | coat
+ 1 Hello
+ 2 World
127
$ coat file1 file2.txt
128
line1 of file1
129
line2 of file1
0 commit comments