When you pipe the output, ls acts differently.
This fact is hidden away in the info documentation:
If standard output is a terminal, the output is in columns (sorted vertically) and control characters are output as question marks; otherwise, the output is listed one per line and control characters are output as-is.
To prove it, try running
ls
and then
ls | less
CNN.com delivers the latest breaking news and information on the latest top stories, weather, business, entertainment, politics, and more. For in-depth coverage, CNN.com provides special reports, video, audio, photo galleries, and interactive guides.
D. Dominici, P. Gill, and T. Limpanuparb. Proceedings of the Royal Society A: Mathematical, Physical and Engineering Science, 468 (2145):
2667-2681(September 2012)
S. Liberati, S. Sonego, and M. Visser. (2001)cite arxiv:gr-qc/0107091Comment: Plain LaTeX2E; 25 pages; 4 embedded figures (LaTeX pictures). V2: Some discussion clarified, minor rearrangements, references updated, no change in physics conclusions. To appear in Annals of Physics.
T. Green, A. McIntosh, V. Cook-Morales, and C. Robinson-Zañartu. Remedial & Special Education, 26 (2):
82-92(2005)M3: Article; Accession Number: 16738084; Green, Tonika Duren 1 McIntosh, Angela Stephens 2 Cook-Morales, Valerie J. 3 Robinson-Zañartu, Carol 4; Affiliation: 1: Assistant professor in school psychology, San Diego State University 2: Assistant professor in the Department of Special Education, San Diego State University 3: Professor and director of the school psychology program, San Diego State University 4: Professor and chair of the Department of Counseling and School Psychology, San Diego State University; Source Info: Mar/Apr2005, Vol. 26 Issue 2, p82; Subject Term: AFRICAN American students; Subject Term: SPECIAL education; Subject Term: SEGREGATION in education; Subject Term: STUDENTS with disabilities; Subject Term: EDUCATION -- United States; Number of Pages: 11p; Document Type: Article.