瀏覽代碼

Corrected the example: Compress a series of identical characters to a single character

The example wrongly used \n instead of {{input_characters}}.
Angsuman Chakraborty 7 年之前
父節點
當前提交
fc6b0e4661
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pages/common/tr.md

+ 1 - 1
pages/common/tr.md

@@ -16,7 +16,7 @@
 
 - Compress a series of identical characters to a single character:
 
-`tr -s '\n'`
+`tr -s '{{input_characters}}'`
 
 - Translate the contents of the file to upper-case and print result: