China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-30 15:18
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » What does ">" mean? View 1,887 Replies 5
Original Poster Posted 2005-08-16 20:47 ·  中国 新疆 克拉玛依 移动
新手上路
Credits 17
Posts 6
Joined 2005-08-14 22:00
20-year member
UID 41658
Status Offline
echo I want to output >1.txt. After looking at this code, I don't understand the > here. Shouldn't >> be used for appending?

---------- Edited by willsort ----------
In HTML language, "&gt" represents the ">" symbol. "&lt" represents the "<" symbol (4th floor)
There was a fault during the conversion of the forum from Chinadotnet to Discuz!, which is the reason for the phenomenon the original poster saw. &gt is the original > sign (5th floor)
---------- Edited by willsort ----------


[ Last edited by willsort on 2005-8-19 at 18:35 ]
Floor 2 Posted 2005-08-16 21:16 ·  IANA 局域网IP(Private-Use)
钻石会员
★★★★★
Credits 10,046
Posts 3,039
Joined 2002-11-11 00:00
23-year member
UID 223
Gender Male
Status Offline
HTML language-specific escape characters.
简单就是美
Floor 3 Posted 2005-08-16 22:47 ·  中国 广西 梧州 电信
初级用户
Credits 46
Posts 15
Joined 2005-08-13 12:11
20-year member
UID 41615
Status Offline
Floor 4 Posted 2005-08-16 22:52 ·  IANA 局域网IP(Private-Use)
钻石会员
★★★★★
Credits 10,046
Posts 3,039
Joined 2002-11-11 00:00
23-year member
UID 223
Gender Male
Status Offline
Just like in the C language, "\n" is used to represent a newline and "\t" represents a tab. In HTML, "&gt" is used to represent the ">" symbol, and "&lt" is used to represent the "<" symbol.
简单就是美
Floor 5 Posted 2005-08-17 14:25 ·  中国 河北 石家庄 联通
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
Hey, the forum had a malfunction during the transition from Chinanews to Discuz!, which is the reason for the phenomenon the original poster saw. The > is just the original > sign, but there was an error during the forum transition.
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Floor 6 Posted 2006-08-15 16:41 ·  中国 浙江 绍兴 上虞区 电信
初级用户
Credits 114
Posts 5
Joined 2004-01-30 00:00
22-year member
UID 16358
Gender Male
Status Offline
I pondered for a long time and still couldn't figure it out, but finally found out that it was >. Hehe, thanks.
Forum Jump: