🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #262

Re: Where does the sugar go? (was Re: Sort problem )

#262
From: Noah Friedman
Date: Sun, 02 Aug 1992 17:44
11 lines
1288 bytes
In article <1992Aug2.143248.25046@druid.uucp> darcy@druid.uucp (D'Arcy J.M. Cain) writes:
>Or do like ls(1) and find out if the output device is a tty, pipe or
>whatever.  In SVR4 at least ls does a wide listing to the screen but does
>a single file per line when in a pipeline without requiring special flags.

   BSD ls does this too. 

   IMHO, this is a misfeature.  Programs shouldn't generally take notice
when their output has been redirected.  I would prefer that programs like
ls have predictable, obvious behavior.  If I wanted single-column output
I'd use the "-1" flag.
Technical Details
Message-ID: <FRIEDMAN.92Aug2134451@nutrimat.gnu.ai.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!jvnc.net!yale.edu!yale!mintaka.lcs.mit.edu!ai-lab!life.ai.mit.edu!friedman
References: <1992Jul31.000822.13317@convex.com> <84902@netnews.upenn.edu> <ESH.92Jul31101723@lithium.tekbspa.com> <1992Aug2.143248.25046@druid.uucp>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!jvnc.net!yale.edu!yale!mintaka.lcs.mit.edu!ai-lab!life.ai.mit.edu!friedman
From: friedman@gnu.ai.mit.edu (Noah Friedman)
Newsgroups: comp.unix.shell
Subject: Re: Where does the sugar go? (was Re: Sort problem )
Message-ID: <FRIEDMAN.92Aug2134451@nutrimat.gnu.ai.mit.edu>
Date: 2 Aug 92 17:44:51 GMT
References: <1992Jul31.000822.13317@convex.com> <84902@netnews.upenn.edu>
 <ESH.92Jul31101723@lithium.tekbspa.com>
 <1992Aug2.143248.25046@druid.uucp>
Sender: news@ai.mit.edu
Organization: Free Software Foundation, 675 Mass Ave. Cambridge, MA 02139
Lines: 12
In-reply-to: darcy@druid.uucp's message of 2 Aug 92 14:32:48 GMT