Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: updates to ls(1), output, and Emacs "dired" mode



On Sat, Feb 22, 2014 at 09:40:38PM +0000, Patrick Welche wrote:
> On Sat, Feb 22, 2014 at 09:55:48PM +0900, Ryo ONODERA wrote:
> > From: christos%astron.com@localhost (Christos Zoulas), Date: Fri, 21 Feb 
> > 2014 02:11:36 +0000 (UTC)
> > 
> > > In article 
> > > <CABfrOT8bczO+czRp-TfFRC3J-QJDcP1grDkcjnujpQ_jojtbDQ%mail.gmail.com@localhost>,
> > > B Harder  <brad.harder%gmail.com@localhost> wrote:
> > >>I suspect that the recent changes to ls have affected its output,
> > >>which affects Emacs "dired" mode (it parses ls output).
> > >>
> > >>1) Am I correct output has changed?
> > >>2) if "yes", is this expected behaviour?
> > > 
> > > No, output should not have changed unless the new options are used.
> > 
> > With ls.c 1.71, output of ls -w is broken.
> > 
> > /usr/src/bin/ls% LANG=C ./ls -w
> > .         .         .         .         .         .
> > .         .         .         .         .         .
> > .         .         .         .         .
> 
> 
> I noticed that as "ls | more" giving a different result to "ls".

"ls | more" implies "ls -1 | more".

I'm not sure you can actually get the terminal output into a file
(without using something like script).

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index