My new USRobotics Sportster Voice 56K Faxmodem

Chuck Martin (cmartin@bigfoot.com)
Thu, 16 Apr 1998 11:47:33 +0200


Joseph Kwok wrote:
> 
> No ls option is being used.  I tried the above shell commands by hand and get the
> result that all ls files are in one line and thus I have to count on the number of
> words instead.

Joseph, ls works different when the output is redirected into a pipe.  Try
this:

ls | less

Do you still get all files in a single line?  You shouldn't.


-- 
Chuck Martin                                       <cmartin@bigfoot.com>
========================================================================
"Our Constitution was made for a moral and religious people.  It is
wholly inadequate for the government of any other." - John Adams, 1798