why is this result?

ishare <[email protected]>
Newsgroups gmane.editors.sed.user
Message-ID <[email protected]>
 I have a file named by "1", its content is
 
 xyz
 123
 dfd
 xyzdfdf


 when I typed :   sed 'p' 1 . 
 it print out : 
xyz
xyz
123
123
dfd
dfd
xyzdfdf
xyzdfdf

Obviously ,every line has been duplicated once ,why is this result?



thanks!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.