1.txt
"mytxt"
"my22"
"youweb"
用 cat 1.txt
结果显示的是
mytxt
my22
youweb
怎么绰号没了 怎么让他保留显示
1
lifanxi 2015 年 5 月 8 日
这不科学……
暂时还没想到问题可能出在哪个环节 |
2
est 2015 年 5 月 8 日
which cat
/bin/cat less -nR 试试。 |
3
LazyZhu 2015 年 5 月 8 日
# cat 1.txt
"mytxt" "my22" "youweb" |
4
nicai000 2015 年 5 月 8 日
绰号 不是外号的意思么....
你的Shell搞了什么奇怪的alias或者env吧, 新建一个用户, 进去用/bin/cat试试 |
5
holinhot OP |
6
Csineneo 2015 年 5 月 8 日
綽號...
|
10
mrco 2015 年 5 月 8 日
cat 1.txt|sed 's/\"//g'
|
11
LazyZhu 2015 年 5 月 8 日
|
14
rcmerci 2015 年 5 月 8 日
绰号??
|
15
lilydjwg 2015 年 5 月 8 日
因为这是 xargs 预期的行为:
This manual page documents the GNU version of xargs. xargs reads items from the standard input, delimited by blanks (which can be protected with **double or single quotes or a backslash**) or newlines, and executes the command (default is /bin/echo) one or more times with any initial- arguments followed by items read from standard input. Blank lines on the standard input are ignored. |
16
lilydjwg 2015 年 5 月 8 日
PS: 使用 -d 指定分隔符的话,引号和反斜杠就不特殊对待了。
|
17
jasontse 2015 年 5 月 8 日 via Android
这年头有人不认识双引号?
|
18
kchum 2015 年 5 月 8 日 via iPhone
我疑惑了“绰号”
|