中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-18 08:21
47,814 topics / 349,907 posts / today 0 new / 48,259 members
DOS疑难解答 & 问题讨论 (解答室) » What does ">" mean?
Printable Version  1,927 / 5
Floor1 jgty727 Posted 2005-08-16 20:47
新手上路 Posts 6 Credits 17
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 ]
Floor2 Michael Posted 2005-08-16 21:16
钻石会员 Posts 3,041 Credits 10,056
HTML language-specific escape characters.
Floor3 cheng059830 Posted 2005-08-16 22:47
初级用户 Posts 15 Credits 46
Floor4 Michael Posted 2005-08-16 22:52
钻石会员 Posts 3,041 Credits 10,056
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.
Floor5 Climbing Posted 2005-08-17 14:25
铂金会员 Posts 2,753 Credits 6,962 From 河北保定
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.
Floor6 qcqzlj Posted 2006-08-15 16:41
初级用户 Posts 5 Credits 114
I pondered for a long time and still couldn't figure it out, but finally found out that it was >. Hehe, thanks.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023