Article View: comp.unix.shell
Article #231Re: Where does the sugar go? (was Re: Sort problem )
From: Michael Salmon
Date: Fri, 31 Jul 1992 10:25
Date: Fri, 31 Jul 1992 10:25
36 lines
1699 bytes
1699 bytes
In article <1253@uknet.ac.uk>, tlg@uknet.ac.uk (Tim.Goodwin) writes: |> In article <84902@netnews.upenn.edu> chip@eniac.seas.upenn.edu (Charles H. Buchholtz) writes: |> >I agree, but I often wonder what to do with the output "sugar", such |> >as prompts or headers, which are not well suited for filtering. |> >... |> |> UNIX is (was) a diet OS. Sugar free. |> |> I fume every time I want to say |> |> sccs delget `sccs info` |> |> but can't. This "sugar" is bitter to my taste. |> |> Pragmatically, why not turn on the sugar with a command line flag? Or have 2 commands as sccs has, info and tell. The suggestion of using 3> isn't a bad one either (apart from compatability with old scripts). We could have a stdsugar that pointed to fd 3 if it was open otherwise to stdout. Then of course we could add a shell redirection of *> to catch all when we wanted that. Maybe thats something for plan 9 or hurd to thing of, SunOS only has 64 file descriptors. -- Michael Salmon #include <standard.disclaimer> #include <witty.saying> #include <fancy.pseudo.graphics> Ericsson Telecom AB Stockholm
Technical Details
Message-ID:
<1992Jul31.102510.6203@ericsson.se>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!ericom!eos.ericsson.se!etxmesaReferences:
<33pmg <1992Jul31.000822.13317@convex.com> <84902@netnews.upenn.edu> <1253@uknet.ac.uk>Show Full Headers
Complete Article Headers
Newsgroups: comp.unix.shell Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!ericom!eos.ericsson.se!etxmesa From: etxmesa@eos.ericsson.se (Michael Salmon) Subject: Re: Where does the sugar go? (was Re: Sort problem ) Message-ID: <1992Jul31.102510.6203@ericsson.se> Sender: news@ericsson.se Nntp-Posting-Host: eos90.ericsson.se Reply-To: etxmesa@eos.ericsson.se (Michael Salmon) Organization: Ericsson Telecom AB References: <33pmg <1992Jul31.000822.13317@convex.com> <84902@netnews.upenn.edu> <1253@uknet.ac.uk> Date: Fri, 31 Jul 1992 10:25:10 GMT Lines: 36