From 120ede30a5cf8fed1355a3f11fcc8dba12b2f083 Mon Sep 17 00:00:00 2001 From: runningwater Date: Tue, 15 Oct 2013 18:00:52 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BF=BB=E8=AF=91=E4=BA=86=E4=B8=89=E5=88=86?= =?UTF-8?q?=E4=B9=8B=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...nux Terminal--Seeing the unseen characters with cat!.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sources/Linux Terminal--Seeing the unseen characters with cat!.md b/sources/Linux Terminal--Seeing the unseen characters with cat!.md index 6df8b62dd5..4ac57b1edd 100644 --- a/sources/Linux Terminal--Seeing the unseen characters with cat!.md +++ b/sources/Linux Terminal--Seeing the unseen characters with cat!.md @@ -1,10 +1,9 @@ -(runningwater认领) -Linux Terminal: Seeing the unseen characters with cat! +Linux终端:用cat命令查看隐藏的字符 ================================================================================ Sometimes a program or software don’t start for a syntax error, and if you check the files there is nothing wrong..apparently. -There are a lot of characters that usually are not printed if you use a normal text editor, but you can easily check if they are present with your terminal and the command cat. +There are a lot of characters that usually are not printed if you use a normal text editor, but you can easily check if they are present with your terminal and the command cat.某些时候,一个程序或软件并没有语法错误,并且你检查它的相关文件也确实没有发现问题。这是因为你用普通文本编辑器软件来查看的时候,有许多字符没有显示出来,但在终端下面使用cat命令可以很容易的检测出是否存在这些字符。 -As first thing let’s create a simple text file with these special characters, open a terminal and run the command: +As first thing let’s create a simple text file with these special characters, open a terminal and run the command:首先,我们创建一个简单的文本文件,写入一些特殊的字符,打开终端,运行命令: printf 'testing\012\011\011testing\014\010\012more testing\012\011\000\013\000even more testing\012\011\011\011\012' > /tmp/testing.txt